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

== Torus Knot ==

- fixes for api changes
parent d19e8785
No related branches found
No related tags found
No related merge requests found
......@@ -89,10 +89,10 @@ def createCurve(vertArray, props, align_matrix):
if props.geo_surf:
newCurve.bevel_depth = props.geo_bDepth
newCurve.bevel_resolution = props.geo_bRes
newCurve.front = False
newCurve.back = False
newCurve.use_fill_front = False
newCurve.use_fill_back = False
newCurve.extrude = props.geo_extrude
newCurve.width = props.geo_width
newCurve.offset = props.geo_width
newCurve.resolution_u = props.geo_res
# create object with newCurve
......@@ -318,4 +318,4 @@ def unregister():
bpy.types.INFO_MT_curve_add.remove(torus_knot_plus_button)
if __name__ == "__main__":
register()
register()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment