From 74f9a5432f3f72423137b5cd9a56fc2c33e57845 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Thu, 4 Jul 2019 14:25:40 +0200 Subject: [PATCH] Reset previous layers range selection before selection Layers Item --- src/slic3r/GUI/GUI_ObjectList.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 5c421705b..4c4a30227 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -1888,6 +1888,10 @@ void ObjectList::layers_editing() if (!layers_item.IsOk()) return; + // to correct visual hints for layers editing on the Scene, reset previous selection + wxGetApp().obj_layers()->reset_selection(); + wxGetApp().plater()->canvas3D()->handle_sidebar_focus_event("", false); + // select LayerRoor item and expand select_item(layers_item); Expand(layers_item);