From a54fe3ffa81e4dd19d24031dfcd73ab7a65311c9 Mon Sep 17 00:00:00 2001 From: Lyuma Date: Fri, 15 Oct 2021 11:36:18 -0700 Subject: [PATCH] collada: fix error in use of fix_transform. --- editor/import/editor_import_collada.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/import/editor_import_collada.cpp b/editor/import/editor_import_collada.cpp index 4e343ce3ce7..52be03a1b1c 100644 --- a/editor/import/editor_import_collada.cpp +++ b/editor/import/editor_import_collada.cpp @@ -122,7 +122,7 @@ Error ColladaImport::_populate_skeleton(Skeleton3D *p_skeleton, Collada::Node *p { Transform3D xform = joint->compute_transform(collada); - collada.fix_transform(xform) * joint->post_transform; + xform = collada.fix_transform(xform) * joint->post_transform; p_skeleton->set_bone_pose_position(r_bone, xform.origin); p_skeleton->set_bone_pose_rotation(r_bone, xform.basis.get_rotation_quaternion());