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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-21 18:55:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-21 18:55:28 +0400
commitc75f170adb9ab2195aaa98122ed02d9332b1b72a (patch)
tree6785899cb32f0a7a195cb7ea17a15771f18b3cb3 /io_mesh_ply
parent08e558d60f30781a2c92044e98bcd0e61633f92a (diff)
use object.update_from_editmode() for scripts which read object data.
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/export_ply.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py
index aef2ed89..644b890f 100644
--- a/io_mesh_ply/export_ply.py
+++ b/io_mesh_ply/export_ply.py
@@ -208,6 +208,7 @@ def save(operator,
raise Exception("Error, could not get mesh data from active object")
mesh.transform(obj.matrix_world)
+ mesh.calc_normals()
ret = save_mesh(filepath, mesh,
use_normals=use_normals,