MAINT-5728 fix for dae uploading crash

meow-7.2.2
andreykproductengine 2015-11-11 19:37:36 +02:00
parent 049c795b12
commit 080e26eba4
1 changed files with 2 additions and 2 deletions

View File

@ -1605,9 +1605,9 @@ void LLDAELoader::processChildJoints( domNode* pParentNode )
//-----------------------------------------------------------------------------
bool LLDAELoader::isNodeAJoint( domNode* pNode )
{
if ( !pNode )
if ( !pNode || !pNode->getName() )
{
LL_INFOS()<<"Created node is NULL"<<LL_ENDL;
LL_INFOS()<<"Created node is NULL or invalid"<<LL_ENDL;
return false;
}