mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
force objectId to UUID.Zero for non-overridden animations in AvatarAnimation packet
This commit is contained in:
@@ -3465,7 +3465,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
ani.AnimationList[i].AnimSequenceID = seqs[i];
|
||||
|
||||
ani.AnimationSourceList[i] = new AvatarAnimationPacket.AnimationSourceListBlock();
|
||||
ani.AnimationSourceList[i].ObjectID = objectIDs[i];
|
||||
if (objectIDs[i].Equals(sourceAgentId))
|
||||
ani.AnimationSourceList[i].ObjectID = UUID.Zero;
|
||||
else
|
||||
ani.AnimationSourceList[i].ObjectID = objectIDs[i];
|
||||
}
|
||||
ani.Header.Reliable = false;
|
||||
OutPacket(ani, ThrottleOutPacketType.Task);
|
||||
|
||||
Reference in New Issue
Block a user