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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-19 10:11:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-19 10:14:31 +0300
commit2d2db18f0bd5c070afb4346e813d5e1d41c54cf0 (patch)
tree7def8c2a9c33de9e92c28d5b19383e02fc0f6e95 /release/scripts/startup/bl_ui/space_topbar.py
parent65b3c7b72cb5f49bb64406bd782e2a705c09016c (diff)
UI: move object-mode lock out of the 3D header
Avoid obscure options here. Move to the edit menu, although this may be temporary.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index a88e8164436..5ea5923c1e0 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -499,6 +499,12 @@ class INFO_MT_edit(Menu):
layout.separator()
+ # Should move elsewhere (impacts outliner & 3D view).
+ tool_settings = context.tool_settings
+ layout.prop(tool_settings, "lock_object_mode")
+
+ layout.separator()
+
layout.operator("screen.userpref_show", text="User Preferences...", icon='PREFERENCES')