diff options
author | Thomas Dinges <blender@dingto.org> | 2013-03-01 22:45:41 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-03-01 22:45:41 +0400 |
commit | 786387e462694254dc11b3ad15f8410b32824861 (patch) | |
tree | 96566982d0c2f33b5e29e52407645bc893c513ac | |
parent | f6548d5e6eb5d7cc81c226221b4f1620cd021cb3 (diff) |
3D View properties region / Mesh Displays panel:
* Made overlays use 2 columns, rather than 1 as suggested by Sebastian König in IRC.
* Small tweak to the Normal size button, grey out if unused.
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 0231c7b5458..37f7cf65403 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2519,22 +2519,33 @@ class VIEW3D_PT_view3d_meshdisplay(Panel): mesh = context.active_object.data - col = layout.column() + split = layout.split() + + col = split.column() col.label(text="Overlays:") - col.prop(mesh, "show_edges", text="Edges") col.prop(mesh, "show_faces", text="Faces") + col.prop(mesh, "show_edges", text="Edges") col.prop(mesh, "show_edge_crease", text="Creases") - col.prop(mesh, "show_edge_bevel_weight", text="Bevel Weights") + + col = split.column() + col.label() col.prop(mesh, "show_edge_seams", text="Seams") col.prop(mesh, "show_edge_sharp", text="Sharp") + col.prop(mesh, "show_edge_bevel_weight", text="Weights") + + col = layout.column() col.separator() col.label(text="Normals:") row = col.row() + sub = row.row(align=True) sub.prop(mesh, "show_normal_vertex", text="", icon='VERTEXSEL') sub.prop(mesh, "show_normal_face", text="", icon='FACESEL') - row.prop(context.scene.tool_settings, "normal_size", text="Size") + + sub = row.row(align=True) + sub.active = mesh.show_normal_vertex or mesh.show_normal_face + sub.prop(context.scene.tool_settings, "normal_size", text="Size") col.separator() col.label(text="Numerics:") |