From c4a3eb3c421efafba64cef4beff9cab50a3d307e Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Tue, 17 Nov 2015 11:27:24 +0200 Subject: MAINT-5837 FIXED Hovering text is displayed when the avatar is blocked --- indra/newview/llviewerobject.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 92a5b02a07..d79c84bee3 100755 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -5043,7 +5043,13 @@ void LLViewerObject::updateText() { if (mText.notNull()) { - LLVector3 up_offset(0,0,0); + LLVOAvatar* avatar = getAvatar(); + if (avatar) + { + mText->setHidden(avatar->isInMuteList()); + } + + LLVector3 up_offset(0,0,0); up_offset.mV[2] = getScale().mV[VZ]*0.6f; if (mDrawable.notNull()) -- cgit v1.2.3