diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-12 15:54:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-12 15:56:07 +0300 |
commit | 90b2e4ce284e77e5422f672ded258c139e35af10 (patch) | |
tree | 3a9f5de2f3346b20b8c9ad31bcce423980a16e31 /release | |
parent | b4010005de36c37797f6f8416b8c3a32703e152f (diff) |
UI: move orientation to the topbar
Move manipulator toggle to overlay popover.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
2 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 0b22d1baaee..9c98df00850 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -194,6 +194,10 @@ class TOPBAR_HT_lower_bar(Header): elif mode == 'PARTICLE': layout.popover_group(space_type='VIEW_3D', region_type='TOOLS', context=".particlemode", category="") + # 3D View Options, tsk. maybe users aren't always using 3D view? + scene = context.scene + layout.prop(scene, "transform_orientation", text="", icon='MANIPUL') + # Command Settings (redo) op = context.active_operator row = layout.row() diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 7c32c39e740..3189a1c14b5 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3600,6 +3600,8 @@ class VIEW3D_PT_overlay(Panel): col.active = display_all col.prop(overlay, "show_cursor") + col.prop(view, "show_manipulator") + col = layout.column() col.active = display_all col.prop(overlay, "show_outline_selected") |