Obj: remove dead code.

pull/607/head
Kim Kulling 2015-07-09 19:59:47 +02:00
parent d162b213a2
commit 891c17ee7b
1 changed files with 2 additions and 3 deletions

View File

@ -706,13 +706,12 @@ void ObjFileParser::getObjectName()
}
// -------------------------------------------------------------------
// Creates a new object instance
void ObjFileParser::createObject(const std::string &strObjectName)
void ObjFileParser::createObject(const std::string &objName)
{
ai_assert( NULL != m_pModel );
//ai_assert( !strObjectName.empty() );
m_pModel->m_pCurrent = new ObjFile::Object;
m_pModel->m_pCurrent->m_strObjName = strObjectName;
m_pModel->m_pCurrent->m_strObjName = objName;
m_pModel->m_Objects.push_back( m_pModel->m_pCurrent );
createMesh();