- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user