diff options
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r-- | add_curve_torus_knots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index aa1f3071..6f1cecef 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -78,12 +78,12 @@ def createCurve(vertArray, props, align_matrix): # create spline from vertarray newSpline.points.add(int(len(vertArray)*0.25 - 1)) newSpline.points.foreach_set('co', vertArray) - newSpline.endpoint_u = True + newSpline.use_endpoint_u = True # Curve settings newCurve.dimensions = '3D' - newSpline.cyclic_u = True - newSpline.endpoint_u = True + newSpline.use_cyclic_u = True + newSpline.use_endpoint_u = True newSpline.order_u = 4 if props.geo_surf: |