diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-03 15:32:55 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-03 17:28:01 +0300 |
commit | d9b4d6ee5a4cb231070a0bcb5ac1e7b8c9c7f2f7 (patch) | |
tree | 4024175c408d1a3d0d99c59d3543269ba4aae319 /source/blender/editors/space_outliner | |
parent | 8a72c3baefbae22949dee16c004f253197e93914 (diff) |
Outliner: Right mouse menu for collections editing
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |