Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-06-08 20:53:14 +0400
committerThomas Dinges <blender@dingto.org>2013-06-08 20:53:14 +0400
commite21db5cd23e1bfb35c7cf421d51af1d5e571cebd (patch)
tree0ddc9eed7d221d7a25966558ea0e674f7f2dd1c9
parentfe326a8140e655ebcd48fe3a91f385e9b61d3c85 (diff)
UI / Modifiers:
* Skin modifier also wasted quite some space, use dual column layout now.
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py33
1 files changed, 18 insertions, 15 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index a0db9969f3c..6f4ffbf3616 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -1070,24 +1070,27 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
def SKIN(self, layout, ob, md):
layout.operator("object.skin_armature_create", text="Create Armature")
-
+
layout.separator()
- layout.prop(md, "branch_smoothing")
- layout.prop(md, "use_smooth_shade")
-
- layout.label(text="Selected Vertices:")
+
+ col = layout.column(align=True)
+ col.prop(md, "branch_smoothing")
+ col.prop(md, "use_smooth_shade")
+
split = layout.split()
-
- col = split.column(align=True)
- col.operator("object.skin_loose_mark_clear", text="Mark Loose").action = 'MARK'
- col.operator("object.skin_loose_mark_clear", text="Clear Loose").action = 'CLEAR'
-
+
col = split.column()
- col.operator("object.skin_root_mark", text="Mark Root")
- col.operator("object.skin_radii_equalize", text="Equalize Radii")
-
- layout.label(text="Symmetry Axes:")
- col = layout.column()
+ col.label(text="Selected Vertices:")
+ sub = col.column(align=True)
+ sub.operator("object.skin_loose_mark_clear", text="Mark Loose").action = 'MARK'
+ sub.operator("object.skin_loose_mark_clear", text="Clear Loose").action = 'CLEAR'
+
+ sub = col.column()
+ sub.operator("object.skin_root_mark", text="Mark Root")
+ sub.operator("object.skin_radii_equalize", text="Equalize Radii")
+
+ col = split.column()
+ col.label(text="Symmetry Axes:")
col.prop(md, "use_x_symmetry")
col.prop(md, "use_y_symmetry")
col.prop(md, "use_z_symmetry")