Move to Collection - Skip Master Collection nested level

Have the Master Collection always opened. This removes one level of nesting.
As suggested by Pablo Vazquez (venomgfx).
This commit is contained in:
Dalai Felinto 2018-03-28 15:25:35 -03:00
parent f167226b79
commit ba90597f22
1 changed files with 1 additions and 1 deletions

View File

@ -2252,7 +2252,7 @@ static int move_to_collection_invoke(bContext *C, wmOperator *op, const wmEvent
layout = UI_popup_menu_layout(pup);
uiLayoutSetOperatorContext(layout, WM_OP_EXEC_DEFAULT);
move_to_collection_menus_items(layout, master_collection_menu);
move_to_collection_menu_create(C, layout, master_collection_menu);
UI_popup_menu_end(C, pup);