Browse Source

Fix #147

pull/152/head
Adam Johnson 5 years ago
parent
commit
ba1d55b7b6
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 4
      korman/exporter/animation.py

4
korman/exporter/animation.py

@ -38,8 +38,8 @@ class AnimationConverter:
if id_data is not None: if id_data is not None:
if id_data.animation_data is not None: if id_data.animation_data is not None:
action = id_data.animation_data.action action = id_data.animation_data.action
return action, getattr(action, "fcurves", None) return action, getattr(action, "fcurves", [])
return None, None return None, []
# TODO: At some point, we should consider supporting NLA stuff. # TODO: At some point, we should consider supporting NLA stuff.
# But for now, this seems sufficient. # But for now, this seems sufficient.

Loading…
Cancel
Save