glTF exporter: fix regression when exporting armature object animation with only 1 key
This commit is contained in:
parent
503570ad70
commit
f1c4959cd0
|
@ -15,7 +15,7 @@
|
|||
bl_info = {
|
||||
'name': 'glTF 2.0 format',
|
||||
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
|
||||
"version": (1, 8, 3),
|
||||
"version": (1, 8, 4),
|
||||
'blender': (3, 0, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
|
|
@ -98,7 +98,7 @@ def gather_animation_channels(blender_action: bpy.types.Action,
|
|||
if len(channel_group) == 0:
|
||||
# Only errors on channels, ignoring
|
||||
continue
|
||||
channel = __gather_animation_channel(channel_group, blender_object, export_settings, None, None, bake_range_start, bake_range_end, blender_action.name, None, False)
|
||||
channel = __gather_animation_channel(channel_group, blender_object, export_settings, None, None, bake_range_start, bake_range_end, blender_action.name, None, True)
|
||||
if channel is not None:
|
||||
channels.append(channel)
|
||||
|
||||
|
|
Loading…
Reference in New Issue