diff options
author | andreykproductengine <akleshchev@productengine.com> | 2015-11-11 19:37:36 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2015-11-11 19:37:36 +0200 |
commit | 080e26eba4f6f16eba6ac52727155720614da4ff (patch) | |
tree | 14f559f378f47bd1f9759ae82b65046b11fb8fdc /indra/llprimitive | |
parent | 049c795b1276202a844ea54c9129515238127b3c (diff) |
MAINT-5728 fix for dae uploading crash
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/lldaeloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index d884c30d61..afc88fc861 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -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; } |