Browse Source

Blender exporter: work around #7631, export all actions

Daniel Nienhaus 9 years ago
parent
commit
ef3ee0c778
1 changed files with 3 additions and 4 deletions
  1. 3 4
      utils/exporters/blender/addons/io_three/exporter/api/animation.py

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

@@ -46,10 +46,9 @@ def _parse_action(func, armature, options):
     animations = []
     logger.info("Parsing %d actions", len(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