From 03ade77ddcd0fcf60ec00926aa9a2b46e3360269 Mon Sep 17 00:00:00 2001 From: M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> Date: Fri, 26 Nov 2010 12:19:41 +0000 Subject: [PATCH] Fix for matrix * vector api cleanup --- io_mesh_stl/blender_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index 76dc86b9b..a043a8f34 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()) -- GitLab