diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2021-12-18 14:01:43 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2021-12-18 14:01:43 +0300 |
commit | f1c4959cd05682855c6bfa0e96924f0b6a2676aa (patch) | |
tree | 553b60335bf5c3ac7545fbf7c6e7a9ed5a4a673e /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | |
parent | 503570ad703268ef55cfa38beaa28ad15e3ecc57 (diff) |
glTF exporter: fix regression when exporting armature object animation with only 1 key
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py index 3046a1ce..c60e7047 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py @@ -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) |