diff options
Diffstat (limited to 'add_mesh_BoltFactory/Boltfactory.py')
-rw-r--r-- | add_mesh_BoltFactory/Boltfactory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py index 3bc20185..4ba11db0 100644 --- a/add_mesh_BoltFactory/Boltfactory.py +++ b/add_mesh_BoltFactory/Boltfactory.py @@ -29,7 +29,7 @@ from add_mesh_BoltFactory.preset_utils import * # calculates the matrix for the new object # depending on user pref def align_matrix(context): - loc = mathutils.TranslationMatrix(context.scene.cursor_location) + loc = mathutils.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'): |