From 4e501fa153573a81dc2e69a1e9d6d4387baf4a9e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 11 Aug 2010 16:42:22 +0000 Subject: updates for changes in mathutils --- add_mesh_twisted_torus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_mesh_twisted_torus.py') 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'): -- cgit v1.2.3