FIX: the nums of nozzle_volume_type is incorrect

when save MW 3mf file as multi-extruder
jira:none

Change-Id: I848e348277fb047c2c3569508d2adbe940e40255
(cherry picked from commit 17edbd8cd57b761027bb3c1f4d318578ab27430e)
This commit is contained in:
zhimin.zeng
2024-11-26 10:47:36 +08:00
committed by Noisyfox
parent fe6338449e
commit b871e9318f
3 changed files with 9 additions and 0 deletions

View File

@@ -4277,6 +4277,7 @@ void TabPrinter::extruders_count_changed(size_t extruders_count)
m_extruders_count = extruders_count;
m_preset_bundle->printers.get_edited_preset().set_num_extruders(extruders_count);
m_preset_bundle->update_multi_material_filament_presets();
m_preset_bundle->reset_default_nozzle_volume_type();
is_count_changed = true;
wxGetApp().plater()->get_partplate_list().on_extruder_count_changed((int)m_extruders_count);