* Fix some animations (Trees in Ratchet, Gryphon Roosts)
This commit is contained in:
parent
df2ed62456
commit
e2bab44591
@ -151,8 +151,9 @@ void CM2Mesh::buildAllAnimatedMatrices(SJoint *joint, SJoint *parentJoint)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
joint->GlobalAnimatedMatrix=core::matrix4();
|
//If this joint has no animation we don't care. I think. --shlainn
|
||||||
}
|
}
|
||||||
|
|
||||||
if(parentJoint)
|
if(parentJoint)
|
||||||
joint->GlobalAnimatedMatrix=parentJoint->GlobalAnimatedMatrix*joint->GlobalAnimatedMatrix;
|
joint->GlobalAnimatedMatrix=parentJoint->GlobalAnimatedMatrix*joint->GlobalAnimatedMatrix;
|
||||||
for (u32 j=0; j<joint->Children.size(); ++j)
|
for (u32 j=0; j<joint->Children.size(); ++j)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user