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_scene_fbx | |
parent | 741b7caf2267913135d1c352285ef4702f7f3fc7 (diff) |
update for changes in rna api
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index 4dc76a93..c6c91869 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1856,7 +1856,7 @@ def save_single(operator, scene, filepath="", obs = [(ob_base, ob_base.matrix_world)] if ob_base.dupli_type != 'NONE': - ob_base.create_dupli_list(scene) + ob_base.dupli_list_create(scene) obs = [(dob.object, dob.matrix) for dob in ob_base.dupli_list] for ob, mtx in obs: @@ -1881,7 +1881,7 @@ def save_single(operator, scene, filepath="", origData = True if tmp_ob_type != 'MESH': try: - me = ob.create_mesh(scene, True, 'PREVIEW') + me = ob.to_mesh(scene, True, 'PREVIEW') except: me = None @@ -1892,7 +1892,7 @@ def save_single(operator, scene, filepath="", else: # Mesh Type! if EXP_MESH_APPLY_MOD: - me = ob.create_mesh(scene, True, 'PREVIEW') + me = ob.to_mesh(scene, True, 'PREVIEW') # print ob, me, me.getVertGroupNames() meshes_to_clear.append(me) @@ -1983,7 +1983,7 @@ def save_single(operator, scene, filepath="", # not forgetting to free dupli_list if ob_base.dupli_list: - ob_base.free_dupli_list() + ob_base.dupli_list_clear() if EXP_ARMATURE: # now we have the meshes, restore the rest arm position |