summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-09-25 16:39:26 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-09-25 16:39:26 +0100
commit963945b3ab258ea445e1d9757fc5a89ce397ff7b (patch)
treee7b85e9884277c597856ecab3deecdc92aa6333e /indra/newview/llviewerobject.cpp
parent301821337bf692d9f8d56230dc620efa74fcd275 (diff)
SL-1291 - fixed some issues with selection highlighting of objects rezzed while in build mode. Not clear whether this addresses the original issue, which isn't reproing
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index f963f8a0c8..dcd09f66c7 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -3015,6 +3015,10 @@ void LLViewerObject::updateControlAvatar()
if (getControlAvatar())
{
getControlAvatar()->updateAnimations();
+ if (isSelected())
+ {
+ LLSelectMgr::getInstance()->pauseAssociatedAvatars();
+ }
}
}
@@ -3040,7 +3044,7 @@ void LLViewerObject::linkControlAvatar()
if (!cav->mPlaying)
{
cav->mPlaying = true;
- if (!cav->mRootVolp->isAnySelected())
+ //if (!cav->mRootVolp->isAnySelected())
{
cav->updateVolumeGeom();
cav->mRootVolp->recursiveMarkForUpdate(TRUE);