From 0ae0f1e5007052d5318f59cf7d0efba723f431de Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 7 Feb 2023 14:38:36 +0100 Subject: [PATCH] Fixed scaling objects using sidebar panel while the preview is shown --- src/slic3r/GUI/Selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index dc0242e60c..a9d06a76ec 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -1419,7 +1419,7 @@ void Selection::scale_and_translate(const Vec3d& scale, const Vec3d& translation if (transformation_type.absolute()) { if (m_mode == Instance) { if (is_single_full_instance()) { - BoundingBoxf3 current_box = m_box.get_bounding_box(); + BoundingBoxf3 current_box = get_bounding_box_in_current_reference_system().first; BoundingBoxf3 original_box; if (transformation_type.world()) original_box = get_full_unscaled_instance_bounding_box();