diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 21:33:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 21:33:42 +0400 |
commit | f43ff0f90d7fdac977b62acc1ac81d01c4853ce3 (patch) | |
tree | 5928ea377e02853fc581d34b5c7f7c622f2345c6 /add_curve_torus_knots.py | |
parent | 322f2bf8d49c58cd9eb5a214ee1542721839c6e0 (diff) |
update for changes in blender
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: |