HMP loader returns quads now, cleaned up the code a bit. Still longer than necessary.
BVH loader supports arbitrary rotation/translation orders now. Fixed a crash issue, added test models with ZYX and ZXY rotation order. Updated CREDITS. 'Beautified' pushpack/poppack. Collada loader does now also load XML files if 'COLLADA' is found in the header. Fixed path issues in several IRR test files. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@282 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -132,7 +132,11 @@ bool BaseImporter::SearchFileHeaderForToken(IOSystem* pIOHandler,
|
||||
for (unsigned int i = 0; i < numTokens;++i)
|
||||
{
|
||||
ai_assert(NULL != tokens[i]);
|
||||
if (::strstr(buffer,tokens[i]))return true;
|
||||
if (::strstr(buffer,tokens[i]))
|
||||
{
|
||||
DefaultLogger::get()->debug(std::string("Found positive match for header keyword: ") + tokens[i]);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user