forked from bartvdbraak/blender
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.
This commit is contained in:
parent
9f46ca46a6
commit
683e6faf81
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user