diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 9 |
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) |