aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-04 18:12:31 +0200
committerMelanie Thielker2010-08-04 18:12:31 +0200
commit4a3321077163f4e93ac67609428c0e6fa4d31b9e (patch)
tree707d183fe575373eb459e1adfc5820246b1f62f0
parentCost Reduction : Removing verbose message.... (diff)
downloadopensim-SC_OLD-4a3321077163f4e93ac67609428c0e6fa4d31b9e.zip
opensim-SC_OLD-4a3321077163f4e93ac67609428c0e6fa4d31b9e.tar.gz
opensim-SC_OLD-4a3321077163f4e93ac67609428c0e6fa4d31b9e.tar.bz2
opensim-SC_OLD-4a3321077163f4e93ac67609428c0e6fa4d31b9e.tar.xz
Send attachment updates only to the owner if it's a HUD
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index a9f9d60..4ab719d 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -3485,6 +3485,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3485 /// </summary> 3485 /// </summary>
3486 public void SendPrimUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags) 3486 public void SendPrimUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
3487 { 3487 {
3488 if (entity is SceneObjectPart)
3489 {
3490 SceneObjectPart e = (SceneObjectPart)entity;
3491 SceneObjectGroup g = e.ParentGroup;
3492 if (g.RootPart.Shape.State > 30) // HUD
3493 if (g.OwnerID != AgentId)
3494 return; // Don't send updates for other people's HUDs
3495 }
3496
3488 double priority = m_prioritizer.GetUpdatePriority(this, entity); 3497 double priority = m_prioritizer.GetUpdatePriority(this, entity);
3489 3498
3490 lock (m_entityUpdates.SyncRoot) 3499 lock (m_entityUpdates.SyncRoot)