diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-20 07:27:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-20 07:27:24 +0300 |
commit | 53836eae7a4dc55c410e3b1ff4caafdf4ae48f7a (patch) | |
tree | d4316c544f1ac734051d3da79970664f1907897c /io_export_pc2.py | |
parent | 89f54a30a39f57be545dff1a710b7b7f5372f999 (diff) |
revert change from r1717, this is used for recent blender builds.
Diffstat (limited to 'io_export_pc2.py')
-rw-r--r-- | io_export_pc2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_pc2.py b/io_export_pc2.py index 61cef7a7..4bd8a3c9 100644 --- a/io_export_pc2.py +++ b/io_export_pc2.py @@ -60,7 +60,7 @@ def do_export(context, props, filepath): end = props.range_end sampling = float(props.sampling) apply_modifiers = props.apply_modifiers - me = ob.create_mesh(sc, apply_modifiers, 'PREVIEW') + me = ob.to_mesh(sc, apply_modifiers, 'PREVIEW') vertCount = len(me.vertices) sampletimes = getSampling(start, end, sampling) sampleCount = len(sampletimes) @@ -75,7 +75,7 @@ def do_export(context, props, filepath): for frame in sampletimes: sc.frame_set(frame) - me = ob.create_mesh(sc, apply_modifiers, 'PREVIEW') + me = ob.to_mesh(sc, apply_modifiers, 'PREVIEW') if len(me.vertices) != vertCount: file.close() |