ASE rejects ASC files completely now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@380 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2009-04-09 23:31:13 +00:00
parent bcfbc37301
commit fb33a6bfc4
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ bool ASEImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool
// check file extension // check file extension
const std::string extension = GetExtension(pFile); const std::string extension = GetExtension(pFile);
if( extension == "ase" || extension == "ask" || extension == "asc") if( extension == "ase" || extension == "ask")
return true; return true;
if ((!extension.length() || cs) && pIOHandler) { if ((!extension.length() || cs) && pIOHandler) {
@ -89,7 +89,7 @@ bool ASEImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler, bool
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
void ASEImporter::GetExtensionList(std::string& append) void ASEImporter::GetExtensionList(std::string& append)
{ {
append.append("*.ase;*.ask;*.asc"); append.append("*.ase;*.ask");
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------