Skip to content

Commit

Permalink
Fix #1086
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Jun 17, 2020
1 parent b3dabee commit f7b04e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def __gather_animations(blender_scene, export_settings):

# There is only 1 animation in the track
# If name of the track is not a default name, use this name for action
animations[merged_tracks[merged_anim_track][0]].name = merged_anim_track
if len(merged_tracks[merged_anim_track]) != 0:
animations[merged_tracks[merged_anim_track][0]].name = merged_anim_track

continue

Expand Down

0 comments on commit f7b04e4

Please sign in to comment.