fixed joint info chunk size calculation for
This commit is contained in:
parent
f5da1d16b2
commit
e51648245e
|
@ -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);
|
||||
|
|
Reference in a new issue