diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-09-26 09:52:01 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2022-09-26 09:52:01 +0300 |
commit | 726d08c9036b939f46b59bceb72a61e3102600cc (patch) | |
tree | e65fff2e609a83a41496d912fa3a12eaba32fb2b | |
parent | 33e87824dc33ea92d2b19647b21e8a0d73e505f6 (diff) |
glTF exporter: fix crash on armature delta detection after recent changes
-rwxr-xr-x | io_scene_gltf2/__init__.py | 2 | ||||
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index 5f40a81a..b55692df 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -4,7 +4,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": (3, 4, 24), + "version": (3, 4, 25), 'blender': (3, 3, 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 c95f9dec..b872aeaa 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 @@ -534,7 +534,8 @@ def __gather_armature_object_channel_groups(blender_action: bpy.types.Action, bl # Detect that armature is not multiple keyed for euler and quaternion # Keep only the current rotation mode used by bone - rotation, delta, rotation_modes = get_rotation_modes(target_property) + rotation, rotation_modes = get_rotation_modes(target_property) + delta = get_delta_modes(target_property) # Delta rotation management if delta is False: |