From 74a3317c660da6e210d21f971ff3e6b5c6736487 Mon Sep 17 00:00:00 2001 From: Florian Meyer Date: Thu, 27 May 2010 15:12:08 +0000 Subject: -another small UI update --- add_curve_torus_knots.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'add_curve_torus_knots.py') 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 -- cgit v1.2.3