From aa22f75829d3aba524203c2ad3115c94c85d1e61 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 20 Nov 2018 10:36:26 +0100 Subject: [PATCH] Forced zoom to bed when changing bed size --- src/slic3r/GUI/GLCanvas3D.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 1620df8de..65e821a8c 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -3322,13 +3322,7 @@ void GLCanvas3D::set_bed_shape(const Pointfs& shape) set_axes_length(0.3f * (float)m_bed.get_bounding_box().max_size()); if (new_shape) - { - // forces the selection of the proper camera target - if (m_volumes.volumes.empty()) - zoom_to_bed(); - else - zoom_to_volumes(); - } + zoom_to_bed(); m_dirty = true; }