LWOB loader nearly finished, LWO2 is WIP (many hours with the hex editor to come ...). Added test models for LWOB. Cleaned up the 3DS loader, overloaded ASSIMP_stricmp for std::string.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@109 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-08-13 15:45:57 +00:00
parent 676124e6e6
commit 0148d06678
17 changed files with 593 additions and 293 deletions

View File

@@ -392,8 +392,7 @@ void ASEImporter::BuildNodes()
{
continue;
}
if (szMyName[1].length() == szMyName2[0].length() &&
0 == ASSIMP_stricmp ( szMyName[1].c_str(), szMyName2[0].c_str()))
if (!ASSIMP_stricmp ( szMyName[1], szMyName2[0]))
{
bKnowParent = true;
break;
@@ -403,8 +402,7 @@ void ASEImporter::BuildNodes()
// that has already been handled and added to the list
if (i2 < i)
{
if (szMyName[1].length() == szMyName2[1].length() &&
0 == ASSIMP_stricmp ( szMyName[1].c_str(), szMyName2[1].c_str()))
if (ASSIMP_stricmp ( szMyName[1], szMyName2[1]))
{
bKnowParent = true;
break;