FIX: fix the crash issue when right-click on object list in preview

Change-Id: I31fc987b762fe2718b4ca1659d14864e44a86225
This commit is contained in:
lane.wei
2023-01-10 19:08:26 +08:00
committed by Lane.Wei
parent 859aef4c4e
commit 0dc7f51782
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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 )