diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-28 15:53:04 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-28 15:53:04 +0400 |
commit | 38bf4b71cc1c53f2c0daf01ff270c56434aa1c65 (patch) | |
tree | a66bf8b9ce42566340518fde59aeff63e027473c /io_mesh_stl | |
parent | 95223f5f8fe8cd04f0165167ee4053c6c4a3d860 (diff) |
Fix #22907: STL export did not take object transformation into account.
Diffstat (limited to 'io_mesh_stl')
-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 1bade61d..4bf9e8fc 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -46,5 +46,5 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True): else: yield list(face.verts) - return ([tuple(mesh.verts[index].co) + return ([tuple(ob.matrix_world * mesh.verts[index].co) for index in indexes] for indexes in iter_face_index()) |