Reset previous layers range selection before selection Layers Item

This commit is contained in:
YuSanka 2019-07-04 14:25:40 +02:00
parent 90daffccf2
commit 74f9a5432f

View file

@ -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);