From 8e1c08dac3bad3fb7034a17a018f8c65850e481a Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Mon, 25 Jul 2022 14:38:39 +0200 Subject: [PATCH] Fix for Issue number 53 https://cfl.prusa3d.com/display/SPE/Emboss+-+Test --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index af8526a8e3..92a090dbd6 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -356,6 +356,10 @@ bool GLGizmoEmboss::on_mouse_for_translate(const wxMouseEvent &mouse_event) // temp is in wolrld coors m_temp_transformation = object_trmat * trmat; } else if (mouse_event.LeftUp()) { + // Added because of weird case after double click into scene + // with Mesa driver OR on Linux + if (!m_temp_transformation.has_value()) return false; + // TODO: Disable apply common transformation after draggig // Call after is used for apply transformation after common dragging to rewrite it Transform3d volume_trmat =