From 8ae8cce200c3472a4ff839900df45795c8a392af Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Mon, 5 Jun 2023 16:32:10 +0800 Subject: [PATCH] FIX:enable tab key of cut toolbar[STUDIO-2998] Change-Id: I4c731aeb54cf81a68f6a2501f41986942b71e604 --- src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp b/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp index 4615a4920..bc66b625f 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoAdvancedCut.cpp @@ -1297,7 +1297,7 @@ void GLGizmoAdvancedCut::render_cut_plane_input_window(float x, float y, float b bool imperial_units = wxGetApp().app_config->get("use_inches") == "1"; unsigned int current_active_id = ImGui::GetActiveID(); - Vec3d rotation = {Geometry::rad2deg(m_rotation(0)), Geometry::rad2deg(m_rotation(1)), Geometry::rad2deg(m_rotation(2))}; + Vec3d rotation = {Geometry::rad2deg(m_buffered_rotation(0)), Geometry::rad2deg(m_buffered_rotation(1)), Geometry::rad2deg(m_buffered_rotation(2))}; char buf[3][64]; float buf_size[3]; float vec_max = 0, unit_size = 0;