diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-15 17:07:07 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-12-15 17:07:07 -0500 |
commit | ad625861e120cae967d6bc60a9c1f4d86f4c2ed1 (patch) | |
tree | b480b51d7c6dcea3ad070ac0763ec479aa3e34ef /indra/newview | |
parent | 7926c54a0bb72a77f56ff0a260edb166af979445 (diff) |
SH-594 - added an extra redundant check for nameless nodes
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index b85f3b3435..660157df1e 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1637,6 +1637,12 @@ void LLModelLoader::extractTranslationViaElement( daeElement* pTranslateElement, void LLModelLoader::processJointNode( domNode* pNode, std::map<std::string,LLMatrix4>& jointTransforms ) { + if (pNode->getName() == NULL) + { + llwarns << "nameless node, can't process" << llendl; + return; + } + //llwarns<<"ProcessJointNode# Node:" <<pNode->getName()<<llendl; //1. handle the incoming node - extract out translation via SID or element |