summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-11-11 19:37:36 +0200
committerandreykproductengine <akleshchev@productengine.com>2015-11-11 19:37:36 +0200
commit080e26eba4f6f16eba6ac52727155720614da4ff (patch)
tree14f559f378f47bd1f9759ae82b65046b11fb8fdc
parent049c795b1276202a844ea54c9129515238127b3c (diff)
MAINT-5728 fix for dae uploading crash
-rw-r--r--indra/llprimitive/lldaeloader.cpp4
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;
}