From d0609d09e465529bacb9e2d1086b292bf845a013 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 16 Feb 2015 00:19:47 +1300 Subject: Outliner: Do not show RMB menu for "ID Base" entries --- source/blender/editors/space_outliner/outliner_tools.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_outliner') diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index b493e2eb0a6..42fefd16090 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -1597,6 +1597,9 @@ static int do_outliner_operation_event(bContext *C, Scene *scene, ARegion *ar, S else if (ELEM(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 if (datalevel == TSE_ID_BASE) { + /* do nothing... there are no ops needed here yet */ + } else if (datalevel == TSE_CONSTRAINT) { WM_operator_name_call(C, "OUTLINER_OT_constraint_operation", WM_OP_INVOKE_REGION_WIN, NULL); } -- cgit v1.2.3