Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr>2010-11-26 15:19:41 +0300
committerM Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr>2010-11-26 15:19:41 +0300
commit03ade77ddcd0fcf60ec00926aa9a2b46e3360269 (patch)
treebabcb55be48f6844bab3b7e78fbae08196d99c4b /io_mesh_stl/blender_utils.py
parentfc9b2e7b018fe3012941c28e05fa61e317e3b979 (diff)
Fix for matrix * vector api cleanup
Diffstat (limited to 'io_mesh_stl/blender_utils.py')
-rw-r--r--io_mesh_stl/blender_utils.py2
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())