SL-722 - crash fix when leaving region
parent
f55667397e
commit
59976ece36
|
|
@ -3414,8 +3414,11 @@ void LLVOVolume::updateAnimatedObjectState(LLViewerObject *old_parent, LLViewerO
|
|||
}
|
||||
if (old_volp && old_volp->isAnimatedObject())
|
||||
{
|
||||
// W have been removed from an animated object, need to do cleanup.
|
||||
old_volp->getControlAvatar()->removeAttachmentOverridesForObject(this);
|
||||
if (old_volp->getControlAvatar())
|
||||
{
|
||||
// We have been removed from an animated object, need to do cleanup.
|
||||
old_volp->getControlAvatar()->removeAttachmentOverridesForObject(this);
|
||||
}
|
||||
}
|
||||
|
||||
if (old_volp)
|
||||
|
|
|
|||
Loading…
Reference in New Issue