Fixed crashes when deleting objects

This commit is contained in:
Enrico Turri 2018-11-14 11:22:13 +01:00
parent a56cee5f60
commit 86c1f5b417
2 changed files with 14 additions and 9 deletions

View file

@ -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()