From dd86546d0fcc6e10b0bc7c53a39dbce8adc334b4 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 28 Aug 2018 12:05:16 +0200 Subject: [PATCH] Fixed rotate gizmo position after arrange --- xs/src/slic3r/GUI/GLCanvas3D.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index b9d8a1011..35fd09012 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -2487,10 +2487,12 @@ void GLCanvas3D::reload_scene(bool force) // 1st call to reset if no objects left update_gizmos_data(); update_volumes_selection(m_objects_selections); - // 2nd call to restore if something selected + // 2nd call to restore selection, if any if (!m_objects_selections.empty()) update_gizmos_data(); + m_gizmos.refresh(); + if (m_config->has("nozzle_diameter")) { // Should the wipe tower be visualized ?