diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-03 21:39:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-03 21:39:45 +0400 |
commit | f95f6ed04f447afe4ba0bab6ad9a54c5b0dd699c (patch) | |
tree | ce05db8d58b408a09ee8332bb4ed9b9781d93467 /add_mesh_twisted_torus.py | |
parent | d79a2dc29ca7d42b446086214b7b853f6837dd71 (diff) |
update for changes in blender
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 03c8a1f3..31996774 100644 --- a/add_mesh_twisted_torus.py +++ b/add_mesh_twisted_torus.py @@ -135,7 +135,7 @@ def create_mesh_object(context, verts, edges, faces, name, edit, align_matrix): # Place the object at the 3D cursor location. # apply viewRotaion - ob_new.matrix = align_matrix + ob_new.matrix_world = align_matrix if obj_act and obj_act.mode == 'EDIT': if not edit: |