diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-11 21:10:27 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-11 21:10:27 +0300 |
commit | 4880b71d54e3a0f7fbc564bd769e311532370de9 (patch) | |
tree | d29022c3ed6a8617343a04a67f056390c89e05ab /release | |
parent | 4b57bb0387753f574b3965c461cb55dc0dfa624c (diff) |
UI: Flip Overlays/Shading position
This brings the Object Visibility dropdown closer to overlays which
also controls visibility of elements int he viewport, so it makes more
sense there. Also placing the Overlays settings closer to the viewport.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 0581cc6044a..d6e04eca72d 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -218,19 +218,17 @@ class VIEW3D_HT_header(Header): ) row = layout.row(align=True) - row.prop(shading, "type", text="", expand=True) - - sub = row.row(align=True) - sub.enabled = shading.type != 'RENDERED' - sub.popover(space_type='VIEW_3D', region_type='HEADER', panel_type="VIEW3D_PT_shading") - - row = layout.row(align=True) row.prop(overlay, "show_overlays", icon='WIRE', text="") - sub = row.row(align=True) sub.active = overlay.show_overlays sub.popover(space_type='VIEW_3D', region_type='HEADER', panel_type="VIEW3D_PT_overlay") + row = layout.row(align=True) + row.prop(shading, "type", text="", expand=True) + sub = row.row(align=True) + sub.enabled = shading.type != 'RENDERED' + sub.popover(space_type='VIEW_3D', region_type='HEADER', panel_type="VIEW3D_PT_shading") + class VIEW3D_MT_editor_menus(Menu): bl_space_type = 'VIEW3D_MT_editor_menus' |