From 487c9449d2c66714fb814ec99cd78af564f173d3 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 10 Oct 2014 15:59:42 +0200 Subject: [PATCH] bugfix: search for token checks for the given tokenlist against the lowercased info coming from the asset file. So we also have to used a lowercased token. Thanks to Robinson for the report. Signed-off-by: Kim Kulling --- code/FBXImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXImporter.cpp b/code/FBXImporter.cpp index dfbe5dbd0..9ecea6365 100644 --- a/code/FBXImporter.cpp +++ b/code/FBXImporter.cpp @@ -105,7 +105,7 @@ bool FBXImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool else if ((!extension.length() || checkSig) && pIOHandler) { // at least ascii FBX files usually have a 'FBX' somewhere in their head - const char* tokens[] = {"FBX"}; + const char* tokens[] = {"fbx"}; return SearchFileHeaderForToken(pIOHandler,pFile,tokens,1); } return false;