mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 09:06:03 +08:00
Reset previous layers range selection before selection Layers Item
This commit is contained in:
parent
90daffccf2
commit
74f9a5432f
@ -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…
x
Reference in New Issue
Block a user