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-07-03 21:39:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-03 21:39:45 +0400
commitf95f6ed04f447afe4ba0bab6ad9a54c5b0dd699c (patch)
treece05db8d58b408a09ee8332bb4ed9b9781d93467 /add_curve_torus_knots.py
parentd79a2dc29ca7d42b446086214b7b853f6837dd71 (diff)
update for changes in blender
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r--add_curve_torus_knots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py
index 245d8a69..f49c25e2 100644
--- a/add_curve_torus_knots.py
+++ b/add_curve_torus_knots.py
@@ -105,7 +105,7 @@ def createCurve(vertArray, GEO, align_matrix):
scene.objects.link(new_obj) # place in active scene
new_obj.selected = True # set as selected
scene.objects.active = new_obj # set as active
- new_obj.matrix = align_matrix # apply matrix
+ new_obj.matrix_world = align_matrix # apply matrix
return