- Fix Importer::FindLoader - it failed on file extensions with only one character (i.e. x). This fixes an unit test.

- Revert VTAdj code. It fails the unit test and the new facility (support arbitrary polygons instead of triangles only) is not used anywhere.
- Unit test suite passes now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@592 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2010-03-11 16:47:36 +00:00
parent 4f6d81a29b
commit 08ace2f27b
2 changed files with 36 additions and 46 deletions

View File

@@ -968,7 +968,7 @@ BaseImporter* Importer::FindLoader (const char* szExtension)
for(;*szExtension == '*' || *szExtension == '.'; ++szExtension);
std::string ext(szExtension);
if (ext.length() <= 1)
if (ext.empty())
return NULL;
std::set<std::string> str;