diff options
author | dahlia | 2011-01-17 16:39:53 -0800 |
---|---|---|
committer | dahlia | 2011-01-17 16:39:53 -0800 |
commit | 624bf23abb3f7cf58447c73cff5187963945a15a (patch) | |
tree | f8c28c5dca30108fc77c81457d80e75679e7bb60 | |
parent | minor: resolve some mono compiler warnings (diff) | |
download | opensim-SC_OLD-624bf23abb3f7cf58447c73cff5187963945a15a.zip opensim-SC_OLD-624bf23abb3f7cf58447c73cff5187963945a15a.tar.gz opensim-SC_OLD-624bf23abb3f7cf58447c73cff5187963945a15a.tar.bz2 opensim-SC_OLD-624bf23abb3f7cf58447c73cff5187963945a15a.tar.xz |
force objectId to UUID.Zero for non-overridden animations in AvatarAnimation packet
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index c765e68..e43e3c9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3465,7 +3465,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3465 | ani.AnimationList[i].AnimSequenceID = seqs[i]; | 3465 | ani.AnimationList[i].AnimSequenceID = seqs[i]; |
3466 | 3466 | ||
3467 | ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock(); | 3467 | ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock(); |
3468 | ani.AnimationSourceList[i].ObjectID = objectIDs[i]; | 3468 | if (objectIDs[i].Equals(sourceAgentId)) |
3469 | ani.AnimationSourceList[i].ObjectID = UUID.Zero; | ||
3470 | else | ||
3471 | ani.AnimationSourceList[i].ObjectID = objectIDs[i]; | ||
3469 | } | 3472 | } |
3470 | ani.Header.Reliable = false; | 3473 | ani.Header.Reliable = false; |
3471 | OutPacket(ani, ThrottleOutPacketType.Task); | 3474 | OutPacket(ani, ThrottleOutPacketType.Task); |