FIX: change small filament to large filament is incorrect
jira: none Change-Id: I0f7b10fb557ac5cb147bfebf0445de9ea862d602
This commit is contained in:
parent
73c05eee3b
commit
a35d9b3138
|
@ -1976,7 +1976,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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue