mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Update gizmos on/off state
This commit is contained in:
parent
435163fb73
commit
7395b923bd
4 changed files with 12 additions and 3 deletions
|
@ -1405,7 +1405,7 @@ void ObjectList::update_selections_on_canvas()
|
|||
const int sel_cnt = GetSelectedItemsCount();
|
||||
if (sel_cnt == 0) {
|
||||
selection.clear();
|
||||
wxGetApp().plater()->canvas3D()->set_as_dirty();
|
||||
wxGetApp().plater()->canvas3D()->update_gizmos_on_off_state();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1435,7 +1435,7 @@ void ObjectList::update_selections_on_canvas()
|
|||
else
|
||||
add_to_selection(item, selection, true);
|
||||
|
||||
wxGetApp().plater()->canvas3D()->set_as_dirty();
|
||||
wxGetApp().plater()->canvas3D()->update_gizmos_on_off_state();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1446,7 +1446,7 @@ void ObjectList::update_selections_on_canvas()
|
|||
for (auto item: sels)
|
||||
add_to_selection(item, selection, false);
|
||||
|
||||
wxGetApp().plater()->canvas3D()->set_as_dirty();
|
||||
wxGetApp().plater()->canvas3D()->update_gizmos_on_off_state();
|
||||
}
|
||||
|
||||
void ObjectList::select_item(const wxDataViewItem& item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue