diff options
author | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2010-11-26 15:19:41 +0300 |
---|---|---|
committer | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2010-11-26 15:19:41 +0300 |
commit | 03ade77ddcd0fcf60ec00926aa9a2b46e3360269 (patch) | |
tree | babcb55be48f6844bab3b7e78fbae08196d99c4b /io_mesh_stl/blender_utils.py | |
parent | fc9b2e7b018fe3012941c28e05fa61e317e3b979 (diff) |
Fix for matrix * vector api cleanup
Diffstat (limited to 'io_mesh_stl/blender_utils.py')
-rw-r--r-- | io_mesh_stl/blender_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index 76dc86b9..a043a8f3 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -49,5 +49,5 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True): else: yield list(face.vertices) - return ([tuple(ob.matrix_world * mesh.vertices[index].co) + return ([tuple(mesh.vertices[index].co * ob.matrix_world) for index in indexes] for indexes in iter_face_index()) |