summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index aa27381267..b85f3b3435 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -1607,12 +1607,17 @@ void LLModelLoader::run()
bool LLModelLoader::isNodeAJoint( domNode* pNode )
{
+ if ( pNode->getName() == NULL)
+ {
+ return false;
+ }
+
if ( mJointMap.find( pNode->getName() ) != mJointMap.end() )
{
return true;
}
- return false;
+ return false;
}
void LLModelLoader::extractTranslation( domTranslate* pTranslate, LLMatrix4& transform )