mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: change small filament to large filament is incorrect
jira: none Change-Id: I0f7b10fb557ac5cb147bfebf0445de9ea862d602 (cherry picked from commit a35d9b3138853efa16c733a228f244b547da27c4)
This commit is contained in:
@@ -1954,7 +1954,7 @@ void Sidebar::delete_filament(size_t filament_id, int replace_filament_id) {
|
||||
|
||||
wxGetApp().preset_bundle->update_num_filaments(filament_id);
|
||||
wxGetApp().plater()->get_partplate_list().on_filament_deleted(filament_count, filament_id);
|
||||
wxGetApp().plater()->on_filaments_delete(filament_count, filament_id, replace_filament_id);
|
||||
wxGetApp().plater()->on_filaments_delete(filament_count, filament_id, replace_filament_id > filament_id ? (replace_filament_id - 1) : replace_filament_id);
|
||||
wxGetApp().get_tab(Preset::TYPE_PRINT)->update();
|
||||
wxGetApp().preset_bundle->export_selections(*wxGetApp().app_config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user