# fix throw statement in Q3BSPFileImporter.cpp -- we don't new() DeadlyImportError.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@876 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
e2e5463845
commit
62f6b57637
|
@ -184,7 +184,7 @@ void Q3BSPFileImporter::InternReadFile(const std::string &rFile, aiScene* pScene
|
|||
Q3BSPZipArchive Archive( rFile );
|
||||
if ( !Archive.isOpen() )
|
||||
{
|
||||
throw new DeadlyImportError( "Failed to open file " + rFile + "." );
|
||||
throw DeadlyImportError( "Failed to open file " + rFile + "." );
|
||||
}
|
||||
|
||||
std::string archiveName( "" ), mapName( "" );
|
||||
|
|
Loading…
Reference in New Issue