diff options
author | Melanie | 2010-11-17 17:54:32 +0100 |
---|---|---|
committer | Melanie | 2010-11-17 18:20:24 +0000 |
commit | 43c270b5367a7bdc8f685213488fb4f3437ab89b (patch) | |
tree | 0772e048657c0b4de0cae3f77482290c997e0d55 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Prevent leftover attachments from clogging up the pipes (diff) | |
download | opensim-SC_OLD-43c270b5367a7bdc8f685213488fb4f3437ab89b.zip opensim-SC_OLD-43c270b5367a7bdc8f685213488fb4f3437ab89b.tar.gz opensim-SC_OLD-43c270b5367a7bdc8f685213488fb4f3437ab89b.tar.bz2 opensim-SC_OLD-43c270b5367a7bdc8f685213488fb4f3437ab89b.tar.xz |
Fix gesture and viewer preview sounds not playing
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 8d85d1a..7851c4d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6016,8 +6016,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6016 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; | 6016 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; |
6017 | if (handlerSoundTrigger != null) | 6017 | if (handlerSoundTrigger != null) |
6018 | { | 6018 | { |
6019 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, soundTriggerPacket.SoundData.OwnerID, | 6019 | // UUIDS are sent as zeroes by the client, substitute agent's id |
6020 | soundTriggerPacket.SoundData.ObjectID, soundTriggerPacket.SoundData.ParentID, | 6020 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, AgentId, |
6021 | AgentId, AgentId, | ||
6021 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, | 6022 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, |
6022 | soundTriggerPacket.SoundData.Handle, 0); | 6023 | soundTriggerPacket.SoundData.Handle, 0); |
6023 | 6024 | ||