aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordahlia2011-01-17 16:39:53 -0800
committerdahlia2011-01-17 16:39:53 -0800
commit624bf23abb3f7cf58447c73cff5187963945a15a (patch)
treef8c28c5dca30108fc77c81457d80e75679e7bb60
parentminor: resolve some mono compiler warnings (diff)
downloadopensim-SC-624bf23abb3f7cf58447c73cff5187963945a15a.zip
opensim-SC-624bf23abb3f7cf58447c73cff5187963945a15a.tar.gz
opensim-SC-624bf23abb3f7cf58447c73cff5187963945a15a.tar.bz2
opensim-SC-624bf23abb3f7cf58447c73cff5187963945a15a.tar.xz
force objectId to UUID.Zero for non-overridden animations in AvatarAnimation packet
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs5
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);