diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-01-29 12:21:17 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-01-29 12:21:17 +0300 |
commit | 45d952e04578a36261a2fd7ae8e4b3dcefa15e54 (patch) | |
tree | b4d0b85a4170be6336de7d0bd51eedf2c2d96847 /release | |
parent | 27e2c5ab78317fd79a50980b77fa93af42f2243d (diff) | |
parent | 3fb5e838677d8db0c193da1a7c70cb5c392a4610 (diff) |
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index e653ead21bb..ebb6280a42f 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -6247,17 +6247,20 @@ class VIEW3D_PT_overlay_edit_mesh(Panel): overlay = view.overlay display_all = overlay.show_overlays + is_any_solid_shading = not (shading.show_xray or (shading.type == 'WIREFRAME')) + col = layout.column() col.active = display_all split = col.split() sub = split.column() - sub.active = not ((shading.type == 'WIREFRAME') or shading.show_xray) + sub.active = is_any_solid_shading sub.prop(overlay, "show_edges", text="Edges") sub = split.column() sub.prop(overlay, "show_faces", text="Faces") sub = split.column() + sub.active = is_any_solid_shading sub.prop(overlay, "show_face_center", text="Center") row = col.row(align=True) |