From 0f8fbcfcc148724f012b0b5393b5fd4937ebadb8 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 11 Jul 2012 10:47:40 -0400 Subject: [PATCH 01/12] Disallow the user from self-muting and remove them from the mutelist if this was the case. Works around other viewers allowing the user to mute themself. --- indra/newview/llmutelist.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp index 752e9be35..efeb7c557 100644 --- a/indra/newview/llmutelist.cpp +++ b/indra/newview/llmutelist.cpp @@ -688,6 +688,12 @@ BOOL LLMuteList::isMuted(const LLUUID& id, const std::string& name, U32 flags) c // don't need name or type for lookup LLMute mute(id_to_check); + // Can't mute self. + if (mute.mID == gAgent.getID() && !mute_object) + { + getInstance()->remove(mute); + return false; + } mute_set_t::const_iterator mute_it = mMutes.find(mute); if (mute_it != mMutes.end()) { From 75f067d5c9162a50524c0d2a89d6b4f03e50cc78 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 12 Jul 2012 13:35:56 -0400 Subject: [PATCH 02/12] Added crossfade checkbox to Windlight remote panel. --- .../skins/default/xui/en-us/wlfPanel_AdvSettings_expanded.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/skins/default/xui/en-us/wlfPanel_AdvSettings_expanded.xml b/indra/newview/skins/default/xui/en-us/wlfPanel_AdvSettings_expanded.xml index 2ab05206e..5292e89e3 100644 --- a/indra/newview/skins/default/xui/en-us/wlfPanel_AdvSettings_expanded.xml +++ b/indra/newview/skins/default/xui/en-us/wlfPanel_AdvSettings_expanded.xml @@ -14,8 +14,9 @@