Fix T42190: FBX - script error when trying to export an animation without leaf-bones.

This commit is contained in:
Bastien Montagne 2014-10-12 09:27:52 +02:00
parent 1c8717d484
commit 811c2b12bf
Notes: blender-bot 2023-02-14 20:03:06 +01:00
Referenced by issue #42190, FBX - script error when trying to export an animation without leaf-bones
1 changed files with 1 additions and 1 deletions

View File

@ -2139,7 +2139,7 @@ def fbx_data_from_scene(scene, settings):
data_bones, data_deformers_skin, arm_parents)
# Generate leaf bones
data_leaf_bones = None
data_leaf_bones = []
if settings.add_leaf_bones:
data_leaf_bones = fbx_generate_leaf_bones(settings, data_bones)