Преглед изворни кода

FBX Export: minor tweak to footer.

Should now be identical to those output by the FBX SDK.
Tommy пре 7 година
родитељ
комит
701f9ccfe9
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      code/FBXExporter.cpp

+ 0 - 3
code/FBXExporter.cpp

@@ -235,9 +235,6 @@ void FBXExporter::WriteBinaryFooter()
     outfile->Write(NULL_RECORD.c_str(), NULL_RECORD.size(), 1);
     outfile->Write(NULL_RECORD.c_str(), NULL_RECORD.size(), 1);
 
 
     outfile->Write(GENERIC_FOOTID.c_str(), GENERIC_FOOTID.size(), 1);
     outfile->Write(GENERIC_FOOTID.c_str(), GENERIC_FOOTID.size(), 1);
-    for (size_t i = 0; i < 4; ++i) {
-        outfile->Write("\x00", 1, 1);
-    }
 
 
     // here some padding is added for alignment to 16 bytes.
     // here some padding is added for alignment to 16 bytes.
     // if already aligned, the full 16 bytes is added.
     // if already aligned, the full 16 bytes is added.