Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-11-16 06:14:39 +0400
committerJoshua Leung <aligorith@gmail.com>2011-11-16 06:14:39 +0400
commit683e6faf81d763b75dee3237a03ecda0705a18ba (patch)
tree051aa502827f5c6c81f9e1629b2e6c94a30ee961 /source/blender/editors/space_outliner
parent9f46ca46a6fcdacf53d95a61147272352154204b (diff)
Partial Bugfix 2: [#29229] Outliner RMB commands unexpected results
RenderLayers and RenderPasses don't show the generic Hide/Unhide/Select/Deselect popup which is irrelevant for this use case. I've included a commented-out call here that can be replaced when we have some operations which can be performed on this data (*) (*) For new devs looking to get into blender dev, this could be a nice little project to work on.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index a7f7e36b182..27ad2c4fd6d 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -1218,6 +1218,8 @@ static int do_outliner_operation_event(bContext *C, Scene *scene, ARegion *ar, S
WM_operator_name_call(C, "OUTLINER_OT_animdata_operation", WM_OP_INVOKE_REGION_WIN, NULL);
else if (datalevel == TSE_DRIVER_BASE)
/* do nothing... no special ops needed yet */;
+ else if ELEM3(datalevel, TSE_R_LAYER_BASE, TSE_R_LAYER, TSE_R_PASS)
+ /*WM_operator_name_call(C, "OUTLINER_OT_renderdata_operation", WM_OP_INVOKE_REGION_WIN, NULL)*/;
else
WM_operator_name_call(C, "OUTLINER_OT_data_operation", WM_OP_INVOKE_REGION_WIN, NULL);
}