diff options
author | Melanie | 2010-11-17 17:54:32 +0100 |
---|---|---|
committer | Melanie | 2010-11-17 17:54:32 +0100 |
commit | 2e5ae1b013e2960f6651bc8cf2d74cfbb181012e (patch) | |
tree | 6608ba952627ac140fc4d8ebf49209ae2c81b84e /OpenSim/Region/ClientStack | |
parent | Recalculate prim counts when a parcel is deeded (diff) | |
download | opensim-SC_OLD-2e5ae1b013e2960f6651bc8cf2d74cfbb181012e.zip opensim-SC_OLD-2e5ae1b013e2960f6651bc8cf2d74cfbb181012e.tar.gz opensim-SC_OLD-2e5ae1b013e2960f6651bc8cf2d74cfbb181012e.tar.bz2 opensim-SC_OLD-2e5ae1b013e2960f6651bc8cf2d74cfbb181012e.tar.xz |
Fix gesture and viewer preview sounds not playing
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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 c6ce1b6..5419ede 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6047,8 +6047,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6047 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; | 6047 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; |
6048 | if (handlerSoundTrigger != null) | 6048 | if (handlerSoundTrigger != null) |
6049 | { | 6049 | { |
6050 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, soundTriggerPacket.SoundData.OwnerID, | 6050 | // UUIDS are sent as zeroes by the client, substitute agent's id |
6051 | soundTriggerPacket.SoundData.ObjectID, soundTriggerPacket.SoundData.ParentID, | 6051 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, AgentId, |
6052 | AgentId, AgentId, | ||
6052 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, | 6053 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, |
6053 | soundTriggerPacket.SoundData.Handle, 0); | 6054 | soundTriggerPacket.SoundData.Handle, 0); |
6054 | 6055 | ||