From ad625861e120cae967d6bc60a9c1f4d86f4c2ed1 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 15 Dec 2010 17:07:07 -0500 Subject: SH-594 - added an extra redundant check for nameless nodes --- indra/newview/llfloatermodelpreview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra') 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& jointTransforms ) { + if (pNode->getName() == NULL) + { + llwarns << "nameless node, can't process" << llendl; + return; + } + //llwarns<<"ProcessJointNode# Node:" <getName()<