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>2011-03-14 04:38:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-14 04:38:56 +0300
commit374c7c2a7ba029236c9cceb63218453579ba70d8 (patch)
tree30945030129c2276adf4edf4de6a1c6f7ed73b28 /io_mesh_ply
parent741b7caf2267913135d1c352285ef4702f7f3fc7 (diff)
update for changes in rna api
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/export_ply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py
index 11a16438..6e2f43db 100644
--- a/io_mesh_ply/export_ply.py
+++ b/io_mesh_ply/export_ply.py
@@ -51,7 +51,7 @@ def save(operator, context, filepath="", use_modifiers=True, use_normals=True, u
bpy.ops.object.mode_set(mode='OBJECT')
if use_modifiers:
- mesh = obj.create_mesh(scene, True, 'PREVIEW')
+ mesh = obj.to_mesh(scene, True, 'PREVIEW')
else:
mesh = obj.data