From c861517ca6f425040c22cdde6c9ad58cd00716b7 Mon Sep 17 00:00:00 2001 From: Jesse Y Date: Tue, 3 Nov 2020 18:20:37 -0600 Subject: 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 --- release/scripts/startup/bl_ui/space_view3d.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'release') 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") -- cgit v1.2.3