From 212544d532c17d901e421fbcd4bc02a52863b1fd Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Tue, 22 Feb 2022 13:32:01 +0100 Subject: [PATCH] Fix rotation with object --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index b1a0d2f2f7..18bd8d6359 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -197,8 +197,7 @@ bool GLGizmoEmboss::on_mouse_for_rotation(const wxMouseEvent &mouse_event) start_angle = angle_opt.has_value() ? *angle_opt : 0.f; } // temporary rotation - TransformationType transformation_type( - TransformationType::Local_Relative_Independent); + TransformationType transformation_type(TransformationType::Local); double angle = m_rotate_gizmo.get_angle(); m_parent.get_selection().rotate(Vec3d(0., 0., angle), transformation_type);