diff options
-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()) |