[Bf-blender-cvs] [d9b4d6ee5a4] blender2.8: Outliner: Right mouse menu for collections editing

Dalai Felinto noreply at git.blender.org
Wed Jan 3 15:29:23 CET 2018


Commit: d9b4d6ee5a4cb231070a0bcb5ac1e7b8c9c7f2f7
Author: Dalai Felinto
Date:   Wed Jan 3 10:32:55 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBd9b4d6ee5a4cb231070a0bcb5ac1e7b8c9c7f2f7

Outliner: Right mouse menu for collections editing

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

M	source/blender/editors/space_outliner/outliner_tools.c

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

diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index 81e80843f1d..d2c40192664 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -2096,6 +2096,9 @@ static int do_outliner_operation_event(bContext *C, ARegion *ar, SpaceOops *soop
 				else if (datalevel == TSE_LAYER_COLLECTION) {
 					WM_operator_name_call(C, "OUTLINER_OT_collection_operation", WM_OP_INVOKE_REGION_WIN, NULL);
 				}
+				else if (datalevel == TSE_SCENE_COLLECTION) {
+					WM_menu_name_call(C, "OUTLINER_MT_edit_collections", WM_OP_INVOKE_REGION_WIN);
+				}
 				else {
 					WM_operator_name_call(C, "OUTLINER_OT_data_operation", WM_OP_INVOKE_REGION_WIN, NULL);
 				}



More information about the Bf-blender-cvs mailing list