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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Meyer <florianfelix@web.de>2010-05-27 19:12:08 +0400
committerFlorian Meyer <florianfelix@web.de>2010-05-27 19:12:08 +0400
commit74a3317c660da6e210d21f971ff3e6b5c6736487 (patch)
tree28d820b841b3ce5c2ac9778d3774ed66b618349a /add_curve_torus_knots.py
parent426ebdc0b763eea59ab794e4146d0b49549450d4 (diff)
-another small UI update
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r--add_curve_torus_knots.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py
index fb04c820..36702bfd 100644
--- a/add_curve_torus_knots.py
+++ b/add_curve_torus_knots.py
@@ -262,12 +262,13 @@ class torus_knot_plus(bpy.types.Operator):
col.label(text="Geometry Options")
box = layout.box()
box.prop(props, 'geo_surf')
- box.prop(props, 'geo_bDepth')
- box.prop(props, 'geo_bRes')
- box.prop(props, 'geo_extrude')
- #box.prop(props, 'geo_width') # not really good
- box.prop(props, 'geo_res')
-
+ if props.geo_surf:
+ box.prop(props, 'geo_bDepth')
+ box.prop(props, 'geo_bRes')
+ box.prop(props, 'geo_extrude')
+ #box.prop(props, 'geo_width') # not really good
+ box.prop(props, 'geo_res')
+
##### POLL #####
def poll(self, context):
return context.scene != None