diff options
author | Jesse Y <deadpin> | 2020-11-04 03:20:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-04 03:21:02 +0300 |
commit | c861517ca6f425040c22cdde6c9ad58cd00716b7 (patch) | |
tree | 78c8df1ab7f36c4d99aa64a9ea889e6c96b63e77 /release | |
parent | 564f3be20a6f7dd434ad5fb61e81e0aa37ec2b16 (diff) |
UI: Swap order of "Fade Inactive Geometry" in overlays popover
This simply makes the panel a bit nicer given how things are layed out--
the items with larger visual weight are grouped at the top.
Differential Revision: https://developer.blender.org/D9366
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 7bb987afa72..0f6d0211d1c 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -6126,10 +6126,6 @@ class VIEW3D_PT_overlay_geometry(Panel): sub.active = overlay.show_wireframes or is_wireframes sub.prop(overlay, "wireframe_threshold", text="Wireframe") - col = layout.column(align=True) - col.active = display_all - - col.prop(overlay, "show_face_orientation") row = col.row(align=True) if context.mode not in {'EDIT_ARMATURE', 'POSE', 'OBJECT', 'PAINT_GPENCIL',\ 'VERTEX_GPENCIL', 'WEIGHT_GPENCIL', 'SCULPT_GPENCIL', 'EDIT_GPENCIL'}: @@ -6138,6 +6134,11 @@ class VIEW3D_PT_overlay_geometry(Panel): sub.active = overlay.show_fade_inactive sub.prop(overlay, "fade_inactive_alpha", text="Fade Inactive Geometry") + col = layout.column(align=True) + col.active = display_all + + col.prop(overlay, "show_face_orientation") + # sub.prop(overlay, "show_onion_skins") |