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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/io/export_ply.py')
-rw-r--r--release/io/export_ply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/io/export_ply.py b/release/io/export_ply.py
index 98ce210aa1f..8e79c3741bb 100644
--- a/release/io/export_ply.py
+++ b/release/io/export_ply.py
@@ -78,7 +78,7 @@ def write(filename, scene, ob, \
#mesh = BPyMesh.getMeshFromObject(ob, None, EXPORT_APPLY_MODIFIERS, False, scn) # XXX
if EXPORT_APPLY_MODIFIERS:
- mesh = ob.create_render_mesh(scene)
+ mesh = ob.create_mesh(True, 'PREVIEW')
else:
mesh = ob.data