SL-14879 "Play sounds from gestures" should not affect own sounds
parent
78b6aa6ffc
commit
811d2fcb1e
|
|
@ -3852,7 +3852,12 @@ void process_sound_trigger(LLMessageSystem *msg, void **)
|
|||
}
|
||||
|
||||
// Don't play sounds from gestures if they are not enabled.
|
||||
if (object_id == owner_id && !gSavedSettings.getBOOL("EnableGestureSounds"))
|
||||
// Do play sounds triggered by avatar, since muting your own
|
||||
// gesture sounds and your own sounds played inworld from
|
||||
// Inventory can cause confusion.
|
||||
if (object_id == owner_id
|
||||
&& owner_id != gAgentID
|
||||
&& !gSavedSettings.getBOOL("EnableGestureSounds"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue