diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2021-09-15 18:34:32 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2021-09-15 18:34:32 +0300 |
commit | 29c9aa34754494bc478a08f0be60f38f4844a83d (patch) | |
tree | 59cd0f15ca95a01d5ae0a42bec7a5e21ca31ba9f /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py | |
parent | 4d562682c099ce740d705893008a91a30a206710 (diff) |
glTF exporter: cleanup: use inverted_safe on matrices
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py index d3b9e022..aca85e07 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py @@ -370,7 +370,7 @@ def __gather_output(channels: typing.Tuple[bpy.types.FCurve], correction_matrix_local = axis_basis_change @ bone.bone.matrix_local else: correction_matrix_local = ( - bone.parent.bone.matrix_local.inverted() @ + bone.parent.bone.matrix_local.inverted_safe() @ bone.bone.matrix_local ) |