Explorar o código

Merge pull request #1408 from assimp/acgessler-patch-4

Update version check in FBX reader to check for version >= 7500 inste…
Kim Kulling %!s(int64=8) %!d(string=hai) anos
pai
achega
fd9da14db7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/FBXBinaryTokenizer.cpp

+ 1 - 1
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)) {