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-11 20:42:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-11 20:42:22 +0400
commit4e501fa153573a81dc2e69a1e9d6d4387baf4a9e (patch)
tree400eba0b9efdba6c599c7ba615b886cd44d488b6 /add_curve_torus_knots.py
parent4b29a21f0c5dc55a3eda8b16a7bb4946bf7927ec (diff)
updates for changes in mathutils
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 fd90cd55..7a28edc2 100644
--- a/add_curve_torus_knots.py
+++ b/add_curve_torus_knots.py
@@ -41,7 +41,7 @@ from math import *
# calculates the matrix for the new object
# depending on user pref
def align_matrix(context):
- loc = TranslationMatrix(context.scene.cursor_location)
+ loc = Matrix.Translation(context.scene.cursor_location)
obj_align = context.user_preferences.edit.object_align
if (context.space_data.type == 'VIEW_3D'
and obj_align == 'VIEW'):