* Fixed another bit of M2 Animation

This commit is contained in:
Shlainn 2012-02-10 16:53:37 +01:00
parent ae7e0049c6
commit b77202fd1c

View File

@ -151,7 +151,9 @@ void CM2Mesh::buildAllAnimatedMatrices(SJoint *joint, SJoint *parentJoint)
}
else
{
//If this joint has no animation we don't care. I think. --shlainn
//If this joint has no animation we care a lot! Set it to starting position. --shlainn
joint->GlobalAnimatedMatrix=core::matrix4();
joint->GlobalAnimatedMatrix.setTranslation(joint->LocalMatrix.getTranslation());
}
if(parentJoint)