force objectId to UUID.Zero for non-overridden animations in AvatarAnimation packet

viewer-2-initial-appearance
dahlia 2011-01-17 16:39:53 -08:00
parent 3083c517a0
commit 624bf23abb
1 changed files with 4 additions and 1 deletions

View File

@ -3465,6 +3465,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
ani.AnimationList[i].AnimSequenceID = seqs[i];
ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock();
if (objectIDs[i].Equals(sourceAgentId))
ani.AnimationSourceList[i].ObjectID = UUID.Zero;
else
ani.AnimationSourceList[i].ObjectID = objectIDs[i];
}
ani.Header.Reliable = false;