diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-11-09 16:48:04 +0000 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-11-09 16:48:04 +0000 |
commit | 07e925d279b6c52c0cf352173dfb81fd1740d651 (patch) | |
tree | 393197eab99fa8d45a997ec2999c7b0bf595b476 /indra/newview/llviewerobject.cpp | |
parent | 625344a8e318b24b7d96a9bb9fa2da23166b991f (diff) |
MAINT-7913, MAINT-7817 - fix for animesh attachment corruption after teleporting to a different simulator. Turns out the control avatar (skeleton) was getting caught up in the cleanup for the original region
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 42f6b081e5..e49c37be5e 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -6102,6 +6102,11 @@ void LLViewerObject::setRegion(LLViewerRegion *regionp) child->setRegion(regionp); } + if (mControlAvatar) + { + mControlAvatar->setRegion(regionp); + } + setChanged(MOVED | SILHOUETTE); updateDrawable(FALSE); } |