mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Follow-up to acee3ff1f9
Fixed crash when changing modifier type on a circular printbed
This commit is contained in:
@@ -1871,7 +1871,10 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||||||
volume->set_volume_transformation(mvs->model_volume->get_transformation());
|
volume->set_volume_transformation(mvs->model_volume->get_transformation());
|
||||||
|
|
||||||
// updates volumes convex hull
|
// updates volumes convex hull
|
||||||
volume->set_convex_hull(mvs->model_volume->get_convex_hull_shared_ptr());
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user