glTF exporter: fix bad action name if NLA track names are not initial names

This commit is contained in:
Julien Duroure 2020-03-17 08:01:53 +01:00
parent e5bde5ec2e
commit f3683cf7bf
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (1, 2, 44),
"version": (1, 2, 45),
'blender': (2, 82, 7),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@ -87,7 +87,7 @@ 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[0].name = merged_anim_track
animations[merged_tracks[merged_anim_track][0]].name = merged_anim_track
continue