summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-15 22:14:26 +0200
committerGitHub <noreply@github.com>2021-10-15 22:14:26 +0200
commitc96dcdf50a49fc695d3cae5b3e48c0b67110146e (patch)
tree4cc0f5b7b4b3740319d3222336f3f2de1b279666 /editor/import
parent08d1ce718d5d1845c163f016b4083210136c1248 (diff)
parenta54fe3ffa81e4dd19d24031dfcd73ab7a65311c9 (diff)
Merge pull request #53859 from lyuma/collada_fix_transform
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/editor_import_collada.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/editor_import_collada.cpp b/editor/import/editor_import_collada.cpp
index 4e343ce3ce..52be03a1b1 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());