summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorAnsariel <none@none>2016-02-19 22:29:27 +0100
committerAnsariel <none@none>2016-02-19 22:29:27 +0100
commitd7d4ffb0c4fda4e765a54115945a34eda28f9d1c (patch)
treef133c734567657860e3b94192616271be286421d /indra/newview/llviewerobject.cpp
parent81d5e6e351e6cfd2e6c9b826a8e4dbca940463e0 (diff)
Restore cached mute check for improved performance
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rwxr-xr-xindra/newview/llviewerobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 2c111643ce..05d0d56832 100755
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -5046,7 +5046,7 @@ void LLViewerObject::updateText()
LLVOAvatar* avatar = getAvatar();
if (avatar)
{
- mText->setHidden(LLMuteList::getInstance()->isMuted(avatar->getID()));
+ mText->setHidden(avatar->isInMuteList());
}
LLVector3 up_offset(0,0,0);