diff --git a/src/Client/GUI/CM2Mesh.cpp b/src/Client/GUI/CM2Mesh.cpp index 29a7ac3..c25d369 100755 --- a/src/Client/GUI/CM2Mesh.cpp +++ b/src/Client/GUI/CM2Mesh.cpp @@ -151,8 +151,9 @@ void CM2Mesh::buildAllAnimatedMatrices(SJoint *joint, SJoint *parentJoint) } else { - joint->GlobalAnimatedMatrix=core::matrix4(); + //If this joint has no animation we don't care. I think. --shlainn } + if(parentJoint) joint->GlobalAnimatedMatrix=parentJoint->GlobalAnimatedMatrix*joint->GlobalAnimatedMatrix; for (u32 j=0; jChildren.size(); ++j)