Browse Source

Merge pull request #7666 from daniel-nth/blender-export-all-actions

Blender exporter: work around #7631, export all actions
Mr.doob 9 years ago
parent
commit
df2258b605

+ 3 - 4
utils/exporters/blender/addons/io_three/exporter/api/animation.py

@@ -46,10 +46,9 @@ def _parse_action(func, armature, options):
     animations = []
     animations = []
     logger.info("Parsing %d actions", len(data.actions))
     logger.info("Parsing %d actions", len(data.actions))
     for action in data.actions:
     for action in data.actions:
-        if action == armature.animation_data.action:
-            logger.info("Parsing action %s", action.name)
-            animation = func(action, armature, options)
-            animations.append(animation)
+        logger.info("Parsing action %s", action.name)
+        animation = func(action, armature, options)
+        animations.append(animation)
     return animations
     return animations