Reset previous layers range selection before selection Layers Item
This commit is contained in:
parent
90daffccf2
commit
74f9a5432f
1 changed files with 4 additions and 0 deletions
|
@ -1888,6 +1888,10 @@ void ObjectList::layers_editing()
|
||||||
if (!layers_item.IsOk())
|
if (!layers_item.IsOk())
|
||||||
return;
|
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 LayerRoor item and expand
|
||||||
select_item(layers_item);
|
select_item(layers_item);
|
||||||
Expand(layers_item);
|
Expand(layers_item);
|
||||||
|
|
Loading…
Reference in a new issue