Follow-up 370e8bd752e3f7c97b9804a56dc417dfb362cce8 - Update 3D-scene after splitting of the unprintable object
This commit is contained in:
parent
7ebd0bbb3b
commit
522b3f6d98
@ -2035,6 +2035,8 @@ void ObjectList::split()
|
|||||||
Expand(parent);
|
Expand(parent);
|
||||||
|
|
||||||
changed_object(obj_idx);
|
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)
|
void ObjectList::merge(bool to_multipart_object)
|
||||||
|
@ -3136,6 +3136,8 @@ void Plater::priv::split_object()
|
|||||||
for (size_t idx : idxs)
|
for (size_t idx : idxs)
|
||||||
{
|
{
|
||||||
get_selection().add_object((unsigned int)idx, false);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user