mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: fix the crash issue when right-click on object list in preview
Change-Id: I31fc987b762fe2718b4ca1659d14864e44a86225
This commit is contained in:
parent
859aef4c4e
commit
0dc7f51782
3 changed files with 7 additions and 7 deletions
|
@ -305,7 +305,7 @@ static ObjectDataViewModel* list_model()
|
|||
|
||||
static const Selection& get_selection()
|
||||
{
|
||||
return plater()->canvas3D()->get_selection();
|
||||
return plater()->get_current_canvas3D(true)->get_selection();
|
||||
}
|
||||
|
||||
// category -> vector ( option ; label )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue