From 0f35436bcfaa6f415d5a43bd62bae86320bd75ae Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Mon, 29 Jan 2018 18:01:53 -0200 Subject: Outliner: Moving object context menu to Python, and adding hierarchy As suggested by Pablo Vazquez, though I think we can refine it a bit with icons. I will wait for his feedback on it. --- source/blender/editors/space_outliner/outliner_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index d50d114ef56..9f0165d1272 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -2048,7 +2048,7 @@ static int do_outliner_operation_event(bContext *C, ARegion *ar, SpaceOops *soop } } else if (objectlevel) { - WM_operator_name_call(C, "OUTLINER_OT_object_operation", WM_OP_INVOKE_REGION_WIN, NULL); + WM_menu_name_call(C, "OUTLINER_MT_context_object", WM_OP_INVOKE_REGION_WIN); } else if (idlevel) { if (idlevel == -1 || datalevel) { -- cgit v1.2.3