Fixed crash when changing modifier type on a circular printbed

This commit is contained in:
enricoturri1966 2021-12-16 14:01:44 +01:00
parent 818a92497a
commit acee3ff1f9

View File

@ -1869,6 +1869,9 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
// updates volumes transformations // updates volumes transformations
volume->set_instance_transformation(mvs->model_volume->get_object()->instances[mvs->composite_id.instance_id]->get_transformation()); volume->set_instance_transformation(mvs->model_volume->get_object()->instances[mvs->composite_id.instance_id]->get_transformation());
volume->set_volume_transformation(mvs->model_volume->get_transformation()); volume->set_volume_transformation(mvs->model_volume->get_transformation());
// updates volumes convex hull
volume->set_convex_hull(mvs->model_volume->get_convex_hull_shared_ptr());
} }
} }
} }