diff options
author | Lyuma <xn.lyuma@gmail.com> | 2021-10-15 11:36:18 -0700 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2021-10-15 11:36:18 -0700 |
commit | a54fe3ffa81e4dd19d24031dfcd73ab7a65311c9 (patch) | |
tree | 68918622eb32cfc77bd0ef226b1bb252a16f20ce /editor | |
parent | fe4ca9e4df90cf01fe5a1f7a663a7a9e3e8d701d (diff) |
collada: fix error in use of fix_transform.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/editor_import_collada.cpp | 2 |
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()); |