[Bf-blender-cvs] [ba90597f224] blender2.8: Move to Collection - Skip Master Collection nested level

Dalai Felinto noreply at git.blender.org
Wed Mar 28 22:26:52 CEST 2018


Commit: ba90597f224d784151afb4dccb954ca7f7249de2
Author: Dalai Felinto
Date:   Wed Mar 28 15:25:35 2018 -0300
Branches: blender2.8
https://developer.blender.org/rBba90597f224d784151afb4dccb954ca7f7249de2

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).

===================================================================

M	source/blender/editors/object/object_edit.c

===================================================================

diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index e60ddb98329..485440bec5b 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -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);



More information about the Bf-blender-cvs mailing list