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 | |
parent | 503570ad703268ef55cfa38beaa28ad15e3ecc57 (diff) |
glTF exporter: fix regression when exporting armature object animation with only 1 key
Diffstat (limited to 'io_scene_gltf2')
-rwxr-xr-x | io_scene_gltf2/__init__.py | 2 | ||||
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index c7c44c7c..a3cc5287 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -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', 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) |