# bugfix Importer::GetImporterIndex
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1236 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -865,7 +865,7 @@ size_t Importer::GetImporterIndex (const char* szExtension) const
|
||||
|
||||
std::string ext(szExtension);
|
||||
if (ext.empty()) {
|
||||
return NULL;
|
||||
return static_cast<size_t>(-1);
|
||||
}
|
||||
std::transform(ext.begin(),ext.end(), ext.begin(), tolower);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user