From 095a53bd884b5157b8ac25eb660e6520151d0899 Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Thu, 10 Sep 2020 08:56:46 -0600 Subject: Cleanup: Remove outliner edit mode context menu entries The outliner context menu has options to enter and exit edit mode, but they only show in edit mode, and they don't work. This removes the broken entries and related code. Part of T77408 Differential Revision: https://developer.blender.org/D8641 --- source/blender/editors/space_outliner/outliner_select.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/blender/editors/space_outliner/outliner_select.c') diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index fe40d4cfd36..8c26f0fb07b 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -135,14 +135,6 @@ static void do_outliner_item_mode_toggle_generic(bContext *C, TreeViewContext *t } } -/* For draw callback to run mode switching */ -void outliner_object_mode_toggle(bContext *UNUSED(C), - Scene *UNUSED(scene), - ViewLayer *UNUSED(view_layer), - Base *UNUSED(base)) -{ -} - /* Toggle the item's interaction mode if supported */ void outliner_item_mode_toggle(bContext *C, TreeViewContext *tvc, -- cgit v1.2.3