[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30583] trunk/blender/release/scripts/io/ export_fbx.py: Fix #22921: Default human meta-rig will not export to FBX.

Brecht Van Lommel brecht at blender.org
Wed Jul 21 16:08:55 CEST 2010


Revision: 30583
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30583
Author:   blendix
Date:     2010-07-21 16:08:55 +0200 (Wed, 21 Jul 2010)

Log Message:
-----------
Fix #22921: Default human meta-rig will not export to FBX. Still missed
a check in my previous fix for this.

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-21 11:58:23 UTC (rev 30582)
+++ trunk/blender/release/scripts/io/export_fbx.py	2010-07-21 14:08:55 UTC (rev 30583)
@@ -2782,7 +2782,7 @@
 
                 # Set the action active
                 for my_bone in ob_arms:
-                    if blenAction in my_bone.blenActionList:
+                    if ob.animation_data and blenAction in my_bone.blenActionList:
                         ob.animation_data.action = blenAction
                         # print '\t\tSetting Action!', blenAction
                 # scene.update(1)





More information about the Bf-blender-cvs mailing list