Follow-up 370e8bd752e3f7c97b9804a56dc417dfb362cce8 - Update 3D-scene after splitting of the unprintable object

This commit is contained in:
YuSanka 2022-08-12 09:53:44 +02:00
parent 7ebd0bbb3b
commit 522b3f6d98
2 changed files with 4 additions and 0 deletions

View File

@ -2035,6 +2035,8 @@ void ObjectList::split()
Expand(parent);
changed_object(obj_idx);
// update printable state for new volumes on canvas3D
wxGetApp().plater()->canvas3D()->update_instance_printable_state_for_object(obj_idx);
}
void ObjectList::merge(bool to_multipart_object)

View File

@ -3136,6 +3136,8 @@ void Plater::priv::split_object()
for (size_t idx : idxs)
{
get_selection().add_object((unsigned int)idx, false);
// update printable state for new volumes on canvas3D
q->canvas3D()->update_instance_printable_state_for_object(idx);
}
}
}