FIX: update filament map of plate when switching preset

that has different nozzle nums
jira:none

Change-Id: If78571ddf4fa7ac17e7dcf47013075821b8567a6
(cherry picked from commit a6ad5c8be86313085922e3063eec2aba029a5a99)
This commit is contained in:
zhimin.zeng
2024-07-12 17:01:54 +08:00
committed by Noisyfox
parent 0135b251cd
commit d6864a161c
3 changed files with 19 additions and 1 deletions

View File

@@ -4273,6 +4273,8 @@ void TabPrinter::extruders_count_changed(size_t extruders_count)
m_preset_bundle->printers.get_edited_preset().set_num_extruders(extruders_count);
m_preset_bundle->update_multi_material_filament_presets();
is_count_changed = true;
wxGetApp().plater()->get_partplate_list().on_extruder_count_changed((int)m_extruders_count);
}
// Orca: support multi tool
else if (m_extruders_count == 1 &&