diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-09 12:24:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-09 12:24:31 +0400 |
commit | eb081dd9918a2047c2beab1daecda42bb482ebe7 (patch) | |
tree | e9d7d1b44d8c6a07ae18088d871f657b885ccd09 /release | |
parent | 3e56c4dda180103f71cf20ccaa76a2d70f363bb7 (diff) |
rename rna function obj.make_display_list(scene) --> obj.update(scene)
also added 3 optional bool arguments, 'object', 'data' & 'time', matching the object recalc flags.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/export_fbx.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/release/scripts/io/export_fbx.py b/release/scripts/io/export_fbx.py index 5fe7f519b1d..c2a93a5089e 100644 --- a/release/scripts/io/export_fbx.py +++ b/release/scripts/io/export_fbx.py @@ -2011,9 +2011,8 @@ def write(filename, batch_objects = None, \ if ob_arms_orig_rest: for ob_base in bpy.data.objects: - #if ob_base.type == 'Armature': - ob_base.make_display_list(scene) -# ob_base.makeDisplayList() + if ob_base.type == 'ARMATURE': + ob_base.update(scene) # This causes the makeDisplayList command to effect the mesh scene.set_frame(scene.frame_current) @@ -2187,9 +2186,7 @@ def write(filename, batch_objects = None, \ if ob_arms_orig_rest: for ob_base in bpy.data.objects: if ob_base.type == 'ARMATURE': -# if ob_base.type == 'Armature': - ob_base.make_display_list(scene) -# ob_base.makeDisplayList() + ob_base.update(scene) # This causes the makeDisplayList command to effect the mesh scene.set_frame(scene.frame_current) # Blender.Set('curframe', Blender.Get('curframe')) |