From 6a932e4b9e788c6acda6a622b51e5df675f486e0 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Thu, 20 Jul 2023 11:32:13 +0200 Subject: [PATCH] Fix reflection on object --- src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp index af315590f7..42b5efcb7c 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp @@ -1108,7 +1108,8 @@ void GLGizmoSVG::draw_reflection() if (axis != Axis::UNKNOWN_AXIS){ Selection &selection = m_parent.get_selection(); selection.setup_cache(); - selection.mirror(axis, TransformationType::Local); + TransformationType type = m_volume->is_the_only_one_part()? TransformationType::Instance : TransformationType::Local; + selection.mirror(axis, type); m_parent.do_mirror(L("Set Mirror")); wxGetApp().obj_manipul()->UpdateAndShow(true);