summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-08-14 15:00:08 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-08-14 15:00:08 -0400
commit2a57da233423ca3531bfcec2e138023afead4c3f (patch)
tree6d21fe57ca108b82b48bfd10d25a3a593bb3b478 /indra/newview/llvoavatar.cpp
parent590d0e35e542fe3d973e5a67e1a7db34c0429701 (diff)
SL-125 WIP - updated base bento repo excluding dynamic skeleton.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 253271322c..202b63dec0 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -5153,7 +5153,10 @@ void LLVOAvatar::clearAttachmentPosOverrides()
for (; iter != end; ++iter)
{
LLJoint* pJoint = (*iter);
- pJoint->clearAttachmentPosOverrides();
+ if (pJoint)
+ {
+ pJoint->clearAttachmentPosOverrides();
+ }
}
}