# bugfix Importer::GetImporterIndex
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1236 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
68d2b71893
commit
078c1cd621
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue