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:
authorFlorian Meyer <florianfelix@web.de>2010-08-24 20:41:16 +0400
committerFlorian Meyer <florianfelix@web.de>2010-08-24 20:41:16 +0400
commitf286c6af7af4cac435ab71bb7cd87ea56f178145 (patch)
treee94cefd0eab7aedee05d8a994abbb8b64f00aacc /add_curve_torus_knots.py
parentd19e87853e616f3947e65ffb4eb60b7519377b1e (diff)
== Torus Knot ==
- fixes for api changes
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r--add_curve_torus_knots.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py
index 6f1cecef..362b9377 100644
--- a/add_curve_torus_knots.py
+++ b/add_curve_torus_knots.py
@@ -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