BUGFIX : Set the object name in assimp-node instance.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@888 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
cef429bb70
commit
a6a1d57781
|
@ -183,10 +183,12 @@ aiNode *ObjFileImporter::createNodes(const ObjFile::Model* pModel, const ObjFile
|
|||
if ( NULL == pObject )
|
||||
return NULL;
|
||||
|
||||
// Store older mesh size to be able to computate mesh offsets for new mesh instances
|
||||
// Store older mesh size to be able to computes mesh offsets for new mesh instances
|
||||
const size_t oldMeshSize = MeshArray.size();
|
||||
aiNode *pNode = new aiNode;
|
||||
|
||||
pNode->mName = pObject->m_strObjName;
|
||||
|
||||
if (pParent != NULL)
|
||||
appendChildToParentNode(pParent, pNode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue