mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Fixed crashes when deleting objects
This commit is contained in:
parent
a56cee5f60
commit
86c1f5b417
2 changed files with 14 additions and 9 deletions
|
@ -1470,6 +1470,8 @@ void Plater::priv::remove(size_t obj_idx)
|
|||
void Plater::priv::delete_object_from_model(size_t obj_idx)
|
||||
{
|
||||
model.delete_object(obj_idx);
|
||||
object_list_changed();
|
||||
update();
|
||||
}
|
||||
|
||||
void Plater::priv::reset()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue