diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-14 04:38:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-14 04:38:56 +0300 |
commit | 374c7c2a7ba029236c9cceb63218453579ba70d8 (patch) | |
tree | 30945030129c2276adf4edf4de6a1c6f7ed73b28 /io_mesh_ply | |
parent | 741b7caf2267913135d1c352285ef4702f7f3fc7 (diff) |
update for changes in rna api
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/export_ply.py | 2 |
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 |