mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: not set extruder index of option to -1
Change-Id: I67b053db9936e71eed54cafe8f8f7a63a7f85822 Jira: none (cherry picked from commit 6a282118f8c4ea2f42df46c8cf6967e8485097e3)
This commit is contained in:
@@ -6480,6 +6480,8 @@ void Tab::switch_excluder(int extruder_id)
|
||||
ExtruderType(extruders->values[extruder_id]), NozzleVolumeType(nozzle_volumes->values[extruder_id]), variant_keys.second);
|
||||
};
|
||||
auto index = get_index_for_extruder(extruder_id == -1 ? 0 : extruder_id);
|
||||
if (index < 0)
|
||||
return;
|
||||
for (auto page : m_pages) {
|
||||
bool is_extruder = false;
|
||||
page->m_opt_id_map.clear();
|
||||
|
||||
Reference in New Issue
Block a user