Revision: 30527
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30527
Author: blendix
Date: 2010-07-20 13:00:29 +0200 (Tue, 20 Jul 2010)
Log Message:
-----------
Fix #22921: error FBX exporting armature without animation data.
Modified Paths:
--------------
trunk/blender/release/scripts/io/export_fbx.py
Modified: trunk/blender/release/scripts/io/export_fbx.py
===================================================================
--- trunk/blender/release/scripts/io/export_fbx.py 2010-07-20 10:41:08 UTC
(rev 30526)
+++ trunk/blender/release/scripts/io/export_fbx.py 2010-07-20 11:00:29 UTC
(rev 30527)
@@ -2940,7 +2940,8 @@
# end action loop. set original actions
# do this after every loop incase actions effect eachother.
for my_bone in ob_arms:
- my_bone.blenObject.animation_data.action = my_bone.blenAction
+ if my_bone.blenObject.animation_data:
+ my_bone.blenObject.animation_data.action =
my_bone.blenAction
file.write('\n}')
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs