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_shape_mdd | |
parent | 741b7caf2267913135d1c352285ef4702f7f3fc7 (diff) |
update for changes in rna api
Diffstat (limited to 'io_shape_mdd')
-rw-r--r-- | io_shape_mdd/export_mdd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_shape_mdd/export_mdd.py b/io_shape_mdd/export_mdd.py index 42795d45..85163280 100644 --- a/io_shape_mdd/export_mdd.py +++ b/io_shape_mdd/export_mdd.py @@ -70,7 +70,7 @@ def save(operator, context, filepath="", frame_start=1, frame_end=300, fps=25): orig_frame = scene.frame_current scene.frame_set(frame_start) - me = obj.create_mesh(scene, True, 'PREVIEW') + me = obj.to_mesh(scene, True, 'PREVIEW') #Flip y and z mat_flip = mathutils.Matrix(((1.0, 0.0, 0.0, 0.0), \ @@ -108,7 +108,7 @@ def save(operator, context, filepath="", frame_start=1, frame_end=300, fps=25): """ scene.frame_set(frame) - me = obj.create_mesh(scene, True, 'PREVIEW') + me = obj.to_mesh(scene, True, 'PREVIEW') check_vertcount(me, numverts) me.transform(mat_flip * obj.matrix_world) |