diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index fb04c82005b5a97e581581246b603e3f7b6d4428..36702bfdd2e915f7763592722b0aafc78c5d95b1 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