Skip to content
Snippets Groups Projects
Commit 74a3317c authored by Florian Meyer's avatar Florian Meyer
Browse files

-another small UI update

parent 426ebdc0
No related branches found
No related tags found
No related merge requests found
...@@ -262,12 +262,13 @@ class torus_knot_plus(bpy.types.Operator): ...@@ -262,12 +262,13 @@ class torus_knot_plus(bpy.types.Operator):
col.label(text="Geometry Options") col.label(text="Geometry Options")
box = layout.box() box = layout.box()
box.prop(props, 'geo_surf') box.prop(props, 'geo_surf')
box.prop(props, 'geo_bDepth') if props.geo_surf:
box.prop(props, 'geo_bRes') box.prop(props, 'geo_bDepth')
box.prop(props, 'geo_extrude') box.prop(props, 'geo_bRes')
#box.prop(props, 'geo_width') # not really good box.prop(props, 'geo_extrude')
box.prop(props, 'geo_res') #box.prop(props, 'geo_width') # not really good
box.prop(props, 'geo_res')
##### POLL ##### ##### POLL #####
def poll(self, context): def poll(self, context):
return context.scene != None return context.scene != None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment