diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-01-08 11:53:03 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-01-08 11:53:03 -0800 |
commit | e04752c165900e652f4b8a8a62c1f351967847d7 (patch) | |
tree | 9ba48487be03f019b219773671d57615db0f6f8a /indra | |
parent | 35bb14951f686da538264db349f4bfbe045b8c82 (diff) |
EXT-3874 Lindens can (appear to) be blocked from avatar info popup
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinspectavatar.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp index 72994a4371..6cb3431419 100644 --- a/indra/newview/llinspectavatar.cpp +++ b/indra/newview/llinspectavatar.cpp @@ -520,7 +520,10 @@ void LLInspectAvatar::updateVolumeSlider() bool voice_enabled = gVoiceClient->getVoiceEnabled(mAvatarID); LLUICtrl* mute_btn = getChild<LLUICtrl>("mute_btn"); - mute_btn->setEnabled( voice_enabled ); + + bool is_linden = LLStringUtil::endsWith(mAvatarName, " Linden"); + + mute_btn->setEnabled( voice_enabled && !is_linden); mute_btn->setValue( is_muted ); LLUICtrl* volume_slider = getChild<LLUICtrl>("volume_slider"); |