From ba1d55b7b667379d9112c2ad4bbd7dc59efefe9f Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 20 Oct 2019 00:20:11 -0400 Subject: [PATCH] Fix #147 --- korman/exporter/animation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/korman/exporter/animation.py b/korman/exporter/animation.py index 8099423..6740da9 100644 --- a/korman/exporter/animation.py +++ b/korman/exporter/animation.py @@ -38,8 +38,8 @@ class AnimationConverter: if id_data is not None: if id_data.animation_data is not None: action = id_data.animation_data.action - return action, getattr(action, "fcurves", None) - return None, None + return action, getattr(action, "fcurves", []) + return None, [] # TODO: At some point, we should consider supporting NLA stuff. # But for now, this seems sufficient.