SL-10320 FIXED Crash in LLVOAvatar::updateAttachmentOverrides()
parent
378ed29a38
commit
db5dbaafc4
|
|
@ -6731,7 +6731,7 @@ void LLVOAvatar::rebuildAttachmentOverrides()
|
|||
LLViewerObject *vo = *at_it;
|
||||
// Attached animated objects affect joints in their control
|
||||
// avs, not the avs to which they are attached.
|
||||
if (!vo->isAnimatedObject())
|
||||
if (vo && !vo->isAnimatedObject())
|
||||
{
|
||||
addAttachmentOverridesForObject(vo);
|
||||
}
|
||||
|
|
@ -6782,7 +6782,7 @@ void LLVOAvatar::updateAttachmentOverrides()
|
|||
LLViewerObject *vo = *at_it;
|
||||
// Attached animated objects affect joints in their control
|
||||
// avs, not the avs to which they are attached.
|
||||
if (!vo->isAnimatedObject())
|
||||
if (vo && !vo->isAnimatedObject())
|
||||
{
|
||||
addAttachmentOverridesForObject(vo, &meshes_seen);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue