diff options
author | Kitto Flora | 2010-08-04 21:08:14 +0000 |
---|---|---|
committer | Kitto Flora | 2010-08-04 21:08:14 +0000 |
commit | 0871d20adbe1800655b8a7e9d16f71090bbf5c87 (patch) | |
tree | 83a3e62f4aad08af9d98f7de880f2942b45c498c /OpenSim/Region/ClientStack | |
parent | Fixes fresh hollowed prim collision shape. (diff) | |
parent | Send attachment updates only to the owner if it's a HUD (diff) | |
download | opensim-SC-0871d20adbe1800655b8a7e9d16f71090bbf5c87.zip opensim-SC-0871d20adbe1800655b8a7e9d16f71090bbf5c87.tar.gz opensim-SC-0871d20adbe1800655b8a7e9d16f71090bbf5c87.tar.bz2 opensim-SC-0871d20adbe1800655b8a7e9d16f71090bbf5c87.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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) |