Obj: Remove deprecated assertion - empty object names are fine.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@796 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
bcafa25012
commit
7a50b03fc5
|
@ -595,7 +595,7 @@ void ObjFileParser::getObjectName()
|
||||||
void ObjFileParser::createObject(const std::string &strObjectName)
|
void ObjFileParser::createObject(const std::string &strObjectName)
|
||||||
{
|
{
|
||||||
ai_assert( NULL != m_pModel );
|
ai_assert( NULL != m_pModel );
|
||||||
ai_assert( !strObjectName.empty() );
|
//ai_assert( !strObjectName.empty() );
|
||||||
|
|
||||||
m_pModel->m_pCurrent = new ObjFile::Object;
|
m_pModel->m_pCurrent = new ObjFile::Object;
|
||||||
m_pModel->m_pCurrent->m_strObjName = strObjectName;
|
m_pModel->m_pCurrent->m_strObjName = strObjectName;
|
||||||
|
|
Loading…
Reference in New Issue