diff options
Diffstat (limited to 'add_mesh_twisted_torus.py')
-rw-r--r-- | add_mesh_twisted_torus.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_twisted_torus.py b/add_mesh_twisted_torus.py index 094692f0..66fbe9a6 100644 --- a/add_mesh_twisted_torus.py +++ b/add_mesh_twisted_torus.py @@ -51,7 +51,7 @@ from math import cos, sin, pi # 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'): |