Skip to content

Commit

Permalink
Update version check in FBX reader to check for version >= 7500 inste…
Browse files Browse the repository at this point in the history
…ad of exactly 7500.
  • Loading branch information
acgessler authored Aug 29, 2017
1 parent 43a51df commit f8ef940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/FBXBinaryTokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit f8ef940

Please sign in to comment.