diff options
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 ) |