Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-19 21:33:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-19 21:33:42 +0400
commitf43ff0f90d7fdac977b62acc1ac81d01c4853ce3 (patch)
tree5928ea377e02853fc581d34b5c7f7c622f2345c6 /add_curve_torus_knots.py
parent322f2bf8d49c58cd9eb5a214ee1542721839c6e0 (diff)
update for changes in blender
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r--add_curve_torus_knots.py6
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: