From 24778543e24eb0cc7de71ff427b1609553acff55 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Wed, 19 Oct 2022 18:49:22 +0800 Subject: [PATCH] FIX: remember the status of uniform scale Change-Id: I60f36d6ac6e9be1be4b3e45bd3e7868dcd062e5d (cherry picked from commit b1cde25a722a62720f7a877c985246078320149c) --- src/slic3r/GUI/Gizmos/GizmoObjectManipulation.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GizmoObjectManipulation.cpp b/src/slic3r/GUI/Gizmos/GizmoObjectManipulation.cpp index 8a72a514c..b95e53f34 100644 --- a/src/slic3r/GUI/Gizmos/GizmoObjectManipulation.cpp +++ b/src/slic3r/GUI/Gizmos/GizmoObjectManipulation.cpp @@ -89,13 +89,6 @@ void GizmoObjectManipulation::update_settings_value(const Selection& selection) const GLVolume* volume = selection.get_volume(*selection.get_volume_idxs().begin()); m_new_position = volume->get_instance_offset(); - // Verify whether the instance rotation is multiples of 90 degrees, so that the scaling in world coordinates is possible. - if (m_world_coordinates && ! m_uniform_scale && - ! Geometry::is_rotation_ninety_degrees(volume->get_instance_rotation())) { - // Manipulating an instance in the world coordinate system, rotation is not multiples of ninety degrees, therefore enforce uniform scaling. - m_uniform_scale = true; - } - if (m_world_coordinates) { m_new_rotate_label_string = L("Rotate"); m_new_rotation = volume->get_instance_rotation() * (180. / M_PI);