objectId in AvatarAnimation packet should be UUID.Zero for non-overridden animations

viewer-2-initial-appearance
dahlia 2011-01-17 13:10:09 -08:00
parent 59c2cd04ba
commit aecaadd3bd
1 changed files with 0 additions and 2 deletions

View File

@ -3466,8 +3466,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock(); ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock();
ani.AnimationSourceList[i].ObjectID = objectIDs[i]; ani.AnimationSourceList[i].ObjectID = objectIDs[i];
if (objectIDs[i] == UUID.Zero)
ani.AnimationSourceList[i].ObjectID = sourceAgentId;
} }
ani.Header.Reliable = false; ani.Header.Reliable = false;
OutPacket(ani, ThrottleOutPacketType.Task); OutPacket(ani, ThrottleOutPacketType.Task);