From acee3ff1f98ddff7c3a97a72f97fa20c88b4440d Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 16 Dec 2021 14:01:44 +0100 Subject: [PATCH] Fixed crash when changing modifier type on a circular printbed --- src/slic3r/GUI/GLCanvas3D.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 622f5b3e2..9b1483987 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -1869,6 +1869,9 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re // updates volumes transformations 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()); + + // updates volumes convex hull + volume->set_convex_hull(mvs->model_volume->get_convex_hull_shared_ptr()); } } }