Passing call_selection_changed to update_info_items.
Helps to decide correctly if object was added or only undo / redo operation.
This commit is contained in:
parent
04778e0fa5
commit
788d114a2f
1 changed files with 1 additions and 1 deletions
|
@ -2637,7 +2637,7 @@ void ObjectList::add_object_to_list(size_t obj_idx, bool call_selection_changed)
|
|||
model_object->config.has("extruder") ? model_object->config.extruder() : 0,
|
||||
get_mesh_errors_count(obj_idx) > 0);
|
||||
|
||||
update_info_items(obj_idx, nullptr, true);
|
||||
update_info_items(obj_idx, nullptr, call_selection_changed);
|
||||
|
||||
// add volumes to the object
|
||||
if (model_object->volumes.size() > 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue