From 701f9ccfe9c6fce31a6b7d798b9fc75afcbd0f38 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 3 Mar 2018 19:53:49 +0100 Subject: [PATCH] FBX Export: minor tweak to footer. Should now be identical to those output by the FBX SDK. --- code/FBXExporter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/FBXExporter.cpp b/code/FBXExporter.cpp index 8e32ed46c..a2e6024ed 100644 --- a/code/FBXExporter.cpp +++ b/code/FBXExporter.cpp @@ -235,9 +235,6 @@ void FBXExporter::WriteBinaryFooter() outfile->Write(NULL_RECORD.c_str(), NULL_RECORD.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. // if already aligned, the full 16 bytes is added.