collada: fix error in use of fix_transform.
This commit is contained in:
parent
fe4ca9e4df
commit
a54fe3ffa8
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ Error ColladaImport::_populate_skeleton(Skeleton3D *p_skeleton, Collada::Node *p
|
||||||
|
|
||||||
{
|
{
|
||||||
Transform3D xform = joint->compute_transform(collada);
|
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_position(r_bone, xform.origin);
|
||||||
p_skeleton->set_bone_pose_rotation(r_bone, xform.basis.get_rotation_quaternion());
|
p_skeleton->set_bone_pose_rotation(r_bone, xform.basis.get_rotation_quaternion());
|
||||||
|
|
Loading…
Reference in a new issue