From f43ff0f90d7fdac977b62acc1ac81d01c4853ce3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Aug 2010 17:33:42 +0000 Subject: update for changes in blender --- add_curve_torus_knots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'add_curve_torus_knots.py') 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: -- cgit v1.2.3