Przeglądaj źródła

Merge pull request #1948 from Breush/patch-1

Fixes DXF loader false positive on FBX file
Kim Kulling 7 lat temu
rodzic
commit
49be538bab
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      code/DXFLoader.cpp

+ 1 - 1
code/DXFLoader.cpp

@@ -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;