From 4363b0a1cd5cb0720185593d34c0f0b7b68ef0bf Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Sat, 18 Jun 2011 11:53:20 -0500 Subject: [PATCH] Only consider muting a sound as a gesture if it comes from an avatar. Fixes FIRE-1527. --- indra/newview/llviewermessage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 03c83cea88..7507248e72 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4812,7 +4812,8 @@ void process_sound_trigger(LLMessageSystem *msg, void **) // Don't play sounds from gestures if they are not enabled. // ...TS: Unless they're your own. if ((!gSavedSettings.getBOOL("EnableGestureSounds")) && - (owner_id != gAgent.getID())) return; + (owner_id != gAgent.getID()) && + (owner_id == object_id)) return; gAudiop->triggerSound(sound_id, owner_id, gain, LLAudioEngine::AUDIO_TYPE_SFX, pos_global); }