Merge pull request #1948 from Breush/patch-1

Fixes DXF loader false positive on FBX file
This commit is contained in:
Kim Kulling
2018-05-08 14:04:17 +02:00
committed by GitHub
+1 -1
View File
@@ -127,7 +127,7 @@ bool DXFImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool
if ( extension.empty() || checkSig ) {
static const char *pTokens[] = { "SECTION", "HEADER", "ENDSEC", "BLOCKS" };
return BaseImporter::SearchFileHeaderForToken(pIOHandler, pFile, pTokens, 4 );
return BaseImporter::SearchFileHeaderForToken(pIOHandler, pFile, pTokens, 4, 32 );
}
return false;