diff options
Diffstat (limited to 'linden/indra/newview/llfloateractivespeakers.cpp')
-rw-r--r-- | linden/indra/newview/llfloateractivespeakers.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloateractivespeakers.cpp b/linden/indra/newview/llfloateractivespeakers.cpp index c19c0c4..51e7b89 100644 --- a/linden/indra/newview/llfloateractivespeakers.cpp +++ b/linden/indra/newview/llfloateractivespeakers.cpp | |||
@@ -100,6 +100,11 @@ void LLSpeaker::onAvatarNameLookup(const LLUUID& id, const std::string& first, c | |||
100 | if (speaker_ptr) | 100 | if (speaker_ptr) |
101 | { | 101 | { |
102 | speaker_ptr->mDisplayName = first + " " + last; | 102 | speaker_ptr->mDisplayName = first + " " + last; |
103 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Added: RLVa-1.0.0g | ||
104 | // TODO-RLVa: this seems to get called per frame which is very likely an LL bug that will eventuall get fixed | ||
105 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
106 | speaker_ptr->mDisplayName = gRlvHandler.getAnonym(speaker_ptr->mDisplayName); | ||
107 | // [/RLVa:KB] | ||
103 | } | 108 | } |
104 | } | 109 | } |
105 | 110 | ||
@@ -712,6 +717,13 @@ void LLPanelActiveSpeakers::onVolumeChange(LLUICtrl* source, void* user_data) | |||
712 | //static | 717 | //static |
713 | void LLPanelActiveSpeakers::onClickProfile(void* user_data) | 718 | void LLPanelActiveSpeakers::onClickProfile(void* user_data) |
714 | { | 719 | { |
720 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Added: RLVa-1.0.0g | ||
721 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
722 | { | ||
723 | return; | ||
724 | } | ||
725 | // [/RLVa:KB] | ||
726 | |||
715 | LLPanelActiveSpeakers* panelp = (LLPanelActiveSpeakers*)user_data; | 727 | LLPanelActiveSpeakers* panelp = (LLPanelActiveSpeakers*)user_data; |
716 | LLUUID speaker_id = panelp->mSpeakerList->getValue().asUUID(); | 728 | LLUUID speaker_id = panelp->mSpeakerList->getValue().asUUID(); |
717 | 729 | ||
@@ -721,6 +733,13 @@ void LLPanelActiveSpeakers::onClickProfile(void* user_data) | |||
721 | //static | 733 | //static |
722 | void LLPanelActiveSpeakers::onDoubleClickSpeaker(void* user_data) | 734 | void LLPanelActiveSpeakers::onDoubleClickSpeaker(void* user_data) |
723 | { | 735 | { |
736 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Added: RLVa-1.0.0g | ||
737 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
738 | { | ||
739 | return; | ||
740 | } | ||
741 | // [/RLVa:KB] | ||
742 | |||
724 | LLPanelActiveSpeakers* panelp = (LLPanelActiveSpeakers*)user_data; | 743 | LLPanelActiveSpeakers* panelp = (LLPanelActiveSpeakers*)user_data; |
725 | LLUUID speaker_id = panelp->mSpeakerList->getValue().asUUID(); | 744 | LLUUID speaker_id = panelp->mSpeakerList->getValue().asUUID(); |
726 | 745 | ||