[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41900] trunk/blender/source/blender/ editors/space_outliner/outliner_tools.c: Partial Bugfix 2: [#29229] Outliner RMB commands unexpected results
Joshua Leung
aligorith at gmail.com
Wed Nov 16 03:14:42 CET 2011
Revision: 41900
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41900
Author: aligorith
Date: 2011-11-16 02:14:39 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_outliner/outliner_tools.c
Modified: trunk/blender/source/blender/editors/space_outliner/outliner_tools.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_tools.c 2011-11-16 00:13:38 UTC (rev 41899)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_tools.c 2011-11-16 02:14:39 UTC (rev 41900)
@@ -1218,6 +1218,8 @@
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);
}
More information about the Bf-blender-cvs
mailing list