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
This commit is contained in:
Jesse Y 2020-11-03 18:20:37 -06:00 committed by Hans Goudey
parent 564f3be20a
commit c861517ca6
1 changed files with 5 additions and 4 deletions

View File

@ -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")