Prevent updates about other people's HUD objects being sent

0.6.1-post-fixes
Melanie Thielker 2008-11-09 22:52:00 +00:00
parent 087d2f9147
commit 298ab2f9cb
1 changed files with 3 additions and 0 deletions

View File

@ -2395,6 +2395,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
byte clickAction, byte material, byte[] textureanim, bool attachment, uint AttachPoint, UUID AssetId, UUID SoundId, double SoundGain, byte SoundFlags, double SoundRadius)
{
if (AttachPoint > 30 && ownerID != AgentId) // Someone else's HUD
return;
if (rotation.X == rotation.Y && rotation.Y == rotation.Z && rotation.Z == rotation.W && rotation.W == 0)
rotation = Quaternion.Identity;