Fix #22921: Default human meta-rig will not export to FBX. Still missed
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 21 Jul 2010 14:08:55 +0000 (14:08 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 21 Jul 2010 14:08:55 +0000 (14:08 +0000)
a check in my previous fix for this.

release/scripts/io/export_fbx.py

index 6469a59..bb846b0 100644 (file)
@@ -2782,7 +2782,7 @@ Takes:  {''')
 
                 # 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)