Skip to content
Snippets Groups Projects
Commit 03ade77d authored by M Bouchard Guillaume's avatar M Bouchard Guillaume
Browse files

Fix for matrix * vector api cleanup

parent fc9b2e7b
No related branches found
No related tags found
No related merge requests found
...@@ -49,5 +49,5 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True): ...@@ -49,5 +49,5 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True):
else: else:
yield list(face.vertices) 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()) for index in indexes] for indexes in iter_face_index())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment