- UPDATE : Q3BSPLoader now imports topology of a quake-level. Known issues: It seems, that faces a still missing.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@771 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -63,6 +63,7 @@ Q3BSPFileParser::Q3BSPFileParser( const std::string &rMapName, Q3BSPZipArchive *
|
||||
return;
|
||||
|
||||
m_pModel = new Q3BSPModel;
|
||||
m_pModel->m_ModelName = rMapName;
|
||||
if ( !parseFile() )
|
||||
{
|
||||
delete m_pModel;
|
||||
@@ -84,7 +85,7 @@ Q3BSP::Q3BSPModel *Q3BSPFileParser::getModel() const
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool Q3BSPFileParser::readData(const std::string &rMapName)
|
||||
bool Q3BSPFileParser::readData( const std::string &rMapName )
|
||||
{
|
||||
if ( !m_pZipArchive->Exists( rMapName.c_str() ) )
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user