Fixed crash when changing modifier type on a circular printbed
This commit is contained in:
Vojtech Bubnik 2021-12-16 17:50:36 +01:00
parent 65053fd776
commit 13566e3f93

View File

@ -1871,6 +1871,9 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
volume->set_volume_transformation(mvs->model_volume->get_transformation());
// updates volumes convex hull
if (mvs->model_volume->is_model_part() && ! volume->convex_hull())
// Model volume was likely changed from modifier or support blocker / enforcer to a model part.
// Only model parts require convex hulls.
volume->set_convex_hull(mvs->model_volume->get_convex_hull_shared_ptr());
}
}