Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-03 12:09:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-03 12:09:30 +0300
commit35422ac536467ccddcaa17014b87aa3ed041a068 (patch)
tree37a722c5a2f862ea47e9824e7554d3f87afae462 /release/scripts/op/io_scene_fbx/export_fbx.py
parentdacdfbe6f3c9f777d3b97d159baf382aeec82cdd (diff)
rna/api
move Object.update(...) to ID.update(). since depsgraph update function can now be called on ID types. also changed how update flags work. obj.update(scene, 1, 1, 1) ... is now obj.update({'OBJECT', 'DATA', 'TIME'}) Don't pass scene anymore. This was used for recalculating text but I think this is better dont in a different function.
Diffstat (limited to 'release/scripts/op/io_scene_fbx/export_fbx.py')
-rw-r--r--release/scripts/op/io_scene_fbx/export_fbx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/op/io_scene_fbx/export_fbx.py b/release/scripts/op/io_scene_fbx/export_fbx.py
index c92c6540f0f..0be6a01aef2 100644
--- a/release/scripts/op/io_scene_fbx/export_fbx.py
+++ b/release/scripts/op/io_scene_fbx/export_fbx.py
@@ -1907,7 +1907,7 @@ def save(operator, context, filepath="",
if ob_arms_orig_rest:
for ob_base in bpy.data.objects:
if ob_base.type == 'ARMATURE':
- ob_base.update(scene)
+ ob_base.update()
# This causes the makeDisplayList command to effect the mesh
scene.frame_set(scene.frame_current)
@@ -2055,7 +2055,7 @@ def save(operator, context, filepath="",
if ob_arms_orig_rest:
for ob_base in bpy.data.objects:
if ob_base.type == 'ARMATURE':
- ob_base.update(scene)
+ ob_base.update()
# This causes the makeDisplayList command to effect the mesh
scene.frame_set(scene.frame_current)