summaryrefslogtreecommitdiff
path: root/bck_export.py
diff options
context:
space:
mode:
Diffstat (limited to 'bck_export.py')
-rw-r--r--bck_export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bck_export.py b/bck_export.py
index 8d838ce..5c4f6d7 100644
--- a/bck_export.py
+++ b/bck_export.py
@@ -89,7 +89,7 @@ def export_bck_func(options, context):
# all components
for k in range(9):
# components with fcurve
- if (len(bone_fcurves[k].keyframe_points) >= 1):
+ if (bone_fcurves[k] != None and len(bone_fcurves[k].keyframe_points) >= 1):
value = bone_fcurves[k].evaluate(options.first_frame + j)
# check which is the component to get
if (k == 0 or k == 3 or k == 6):