From 93bd11c5332558c7d8a814f6e56b60752dea6426 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Mon, 12 Jun 2023 13:38:44 +0200 Subject: [PATCH] SPE-1768: Fixed crash when hitting 'Jump to' in the toolpaths conflict imgui dialog while the Paint supports gizmo is open --- src/slic3r/GUI/GLCanvas3D.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index f7b6fc360..eddab0252 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -7515,6 +7515,7 @@ void GLCanvas3D::_set_warning_notification(EWarning warning, bool state) wxGetApp().CallAfter([obj_idx, layer_id]() { wxGetApp().plater()->set_preview_layers_slider_values_range(0, layer_id - 1); wxGetApp().plater()->select_view_3D("3D"); + wxGetApp().plater()->canvas3D()->reset_all_gizmos(); wxGetApp().plater()->canvas3D()->get_selection().add_object(obj_idx, true); wxGetApp().obj_list()->update_selections(); });