diff options
author | Thomas Dinges <blender@dingto.org> | 2011-08-27 16:51:34 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-08-27 16:51:34 +0400 |
commit | d744270e737d5ecb192897e94549fde45405c469 (patch) | |
tree | d5e15d7e643a2f6161dc26a980f62f4e55bd3f37 /add_curve_torus_knots.py | |
parent | 4f5731ed3985b5db7b654f71e102e8b260196461 (diff) |
Addon UI Cleanup, Part 1
* General Rule (for Ivygen and Sapling): If you need more code for declaring the layouts than for the props itself, something is wrong. ;-)
* if > elif
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r-- | add_curve_torus_knots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index 55ffa802..ed0329e1 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -174,8 +174,7 @@ class torus_knot_plus(bpy.types.Operator, AddObjectHelper): layout = self.layout # general options - col = layout.column() - col.label(text="Torus Knot Parameters") + layout.label(text="Torus Knot Parameters:") # Parameters box = layout.box() @@ -192,7 +191,7 @@ class torus_knot_plus(bpy.types.Operator, AddObjectHelper): # surface Options col = layout.column() - col.label(text="Geometry Options") + col.label(text="Geometry Options:") box = layout.box() box.prop(self, 'geo_surf') if self.geo_surf: @@ -200,6 +199,7 @@ class torus_knot_plus(bpy.types.Operator, AddObjectHelper): box.prop(self, 'geo_bRes') box.prop(self, 'geo_extrude') box.prop(self, 'geo_res') + col = layout.column() col.prop(self, 'location') col.prop(self, 'rotation') |