From 5e5869c63a05e3d773fc4d19deaff171efa5014c Mon Sep 17 00:00:00 2001 From: prep linden Date: Tue, 30 Aug 2011 14:59:52 -0400 Subject: Fix for Sh-2350 --- indra/newview/llfloatermodelpreview.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 80db002f0e..0f0f593749 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -2204,7 +2204,15 @@ void LLModelLoader::processJointToNodeMapping( domNode* pNode ) //Determine if the're any children wrt to this failed node. //This occurs when an armature is exported and ends up being what essentially amounts to //as the root for the visual_scene - processChildJoints( pNode ); + if ( pNode ) + { + processChildJoints( pNode ); + } + else + { + llinfos<<"Node is NULL"<