FBX Export: add missing 0 value to file footer.

pull/1819/head
Tommy 2018-02-28 23:38:49 +01:00
parent 54ca88b466
commit a58f8e1c1a
1 changed files with 5 additions and 0 deletions

View File

@ -247,6 +247,11 @@ void FBXExporter::WriteBinaryFooter()
outfile->Write("\x00", 1, 1); outfile->Write("\x00", 1, 1);
} }
// not sure what this is, but it seems to always be 0 in modern files
for (size_t i = 0; i < 4; ++i) {
outfile->Write("\x00", 1, 1);
}
// now the file version again // now the file version again
{ {
StreamWriterLE outstream(outfile); StreamWriterLE outstream(outfile);