Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Craddock <nzcraddock@gmail.com>2020-09-10 17:56:46 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-09-10 18:01:37 +0300
commit095a53bd884b5157b8ac25eb660e6520151d0899 (patch)
tree5f44c250e25562e283679b6843ce4679eda417ef /source/blender/editors/space_outliner/outliner_select.c
parent2110af20f5e636cd4481152e8cbe920dfa1efa8c (diff)
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
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c8
1 files changed, 0 insertions, 8 deletions
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,