aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-09 22:52:00 +0000
committerMelanie Thielker2008-11-09 22:52:00 +0000
commit298ab2f9cbdc6d611a939c80509cd885d43e67a6 (patch)
tree14c248d6506721de1502e2b8693f86ccdebeb68d /OpenSim/Region
parentEnabled SoftERP for the contact structure but not SoftCFM. (diff)
downloadopensim-SC_OLD-298ab2f9cbdc6d611a939c80509cd885d43e67a6.zip
opensim-SC_OLD-298ab2f9cbdc6d611a939c80509cd885d43e67a6.tar.gz
opensim-SC_OLD-298ab2f9cbdc6d611a939c80509cd885d43e67a6.tar.bz2
opensim-SC_OLD-298ab2f9cbdc6d611a939c80509cd885d43e67a6.tar.xz
Prevent updates about other people's HUD objects being sent
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 6ad4c2d..188ce4b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2395,6 +2395,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2395 byte clickAction, byte material, byte[] textureanim, bool attachment, uint AttachPoint, UUID AssetId, UUID SoundId, double SoundGain, byte SoundFlags, double SoundRadius) 2395 byte clickAction, byte material, byte[] textureanim, bool attachment, uint AttachPoint, UUID AssetId, UUID SoundId, double SoundGain, byte SoundFlags, double SoundRadius)
2396 { 2396 {
2397 2397
2398 if (AttachPoint > 30 && ownerID != AgentId) // Someone else's HUD
2399 return;
2400
2398 if (rotation.X == rotation.Y && rotation.Y == rotation.Z && rotation.Z == rotation.W && rotation.W == 0) 2401 if (rotation.X == rotation.Y && rotation.Y == rotation.Z && rotation.Z == rotation.W && rotation.W == 0)
2399 rotation = Quaternion.Identity; 2402 rotation = Quaternion.Identity;
2400 2403