From f8ef94095a460beacfd7574d74237dde4ae1bc9c Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Tue, 29 Aug 2017 15:41:25 +0200 Subject: [PATCH] Update version check in FBX reader to check for version >= 7500 instead of exactly 7500. --- code/FBXBinaryTokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXBinaryTokenizer.cpp b/code/FBXBinaryTokenizer.cpp index d388c6446..46e85d888 100644 --- a/code/FBXBinaryTokenizer.cpp +++ b/code/FBXBinaryTokenizer.cpp @@ -445,7 +445,7 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, unsigned int le const uint8_t unknown_4 = ReadByte(input, cursor, input + length); const uint8_t unknown_5 = ReadByte(input, cursor, input + length); const uint32_t version = ReadWord(input, cursor, input + length); - const bool is64bits = version == 7500; + const bool is64bits = version >= 7500; while (cursor < input + length) { if (!ReadScope(output_tokens, input, cursor, input + length, is64bits)) {