* Some layout tweaks for the Solidify Modifier.
authorThomas Dinges <blender@dingto.org>
Tue, 29 Dec 2009 12:04:37 +0000 (12:04 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 29 Dec 2009 12:04:37 +0000 (12:04 +0000)
release/scripts/ui/properties_data_modifier.py

index 0de819b0537250892bf706869cfa8f127655744f..64a10974b3f060fb23cfc19ba77757db508b3dda 100644 (file)
@@ -602,16 +602,24 @@ class DATA_PT_modifiers(DataButtonsPanel):
         layout.label(text="See Soft Body panel.")
 
     def SOLIDIFY(self, layout, ob, md, wide_ui):
+        layout.prop(md, "offset")
+        
         split = layout.split()
-
+        
         col = split.column()
-        col.prop(md, "offset")
+        col.label(text="Crease:")
+        col.prop(md, "edge_crease_inner",text="Inner")
+        col.prop(md, "edge_crease_outer", text="Outer")
+        col.prop(md, "edge_crease_rim", text="Rim")
+        
+        if wide_ui:
+            col = split.column()
+        col.label()
         col.prop(md, "use_rim")
         col.prop(md, "use_even_offset")
         col.prop(md, "use_quality_normals")
-        col.prop(md, "edge_crease_inner")
-        col.prop(md, "edge_crease_outer")
-        col.prop(md, "edge_crease_rim")
+        
+        # col = layout.column()
         # col.label(text="Vertex Group:")
         # col.prop_object(md, "vertex_group", ob, "vertex_groups", text="")
 
@@ -720,4 +728,4 @@ class DATA_PT_modifiers(DataButtonsPanel):
         col.prop(md, "width", slider=True)
         col.prop(md, "narrowness", slider=True)
 
-bpy.types.register(DATA_PT_modifiers)
+bpy.types.register(DATA_PT_modifiers)
\ No newline at end of file