fixed joint info chunk size calculation for

This commit is contained in:
gered 2011-04-28 23:27:29 -04:00
parent f5da1d16b2
commit e51648245e

View file

@ -215,7 +215,7 @@ void WriteJoints(const std::vector<MeshJoint> &joints, FILE *fp)
for (uint32_t i = 0; i < count; ++i)
{
size += joints[i].name.length() + 1; // include null terminator
size += joints[i].name.length() + 1; // ditto
size += joints[i].parentName.length() + 1; // ditto
}
fputs("JNT", fp);