mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-30 05:21:51 -06:00
Fixed broken DnD on GTK
+ show "Object menu" for each FullInstance instead of FullObject
This commit is contained in:
parent
2c8bc7283e
commit
27f5df5fbd
2 changed files with 20 additions and 12 deletions
|
@ -2473,7 +2473,8 @@ void Plater::priv::on_right_click(Vec2dEvent& evt)
|
|||
return;
|
||||
|
||||
wxMenu* menu = printer_technology == ptSLA ? &sla_object_menu :
|
||||
get_selection().is_single_full_object() ? &object_menu : &part_menu;
|
||||
get_selection().is_single_full_instance/*object*/() ? // show "Object menu" for each FullInstance instead of FullObject
|
||||
&object_menu : &part_menu;
|
||||
|
||||
sidebar->obj_list()->append_menu_item_settings(menu);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue