diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index dc28be8..36edd0b 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4004,6 +4004,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4004 | part.Shape.ProfileHollow = 27500; | 4004 | part.Shape.ProfileHollow = 27500; |
4005 | } | 4005 | } |
4006 | } | 4006 | } |
4007 | else if (update.Entity is ScenePresence) | ||
4008 | { | ||
4009 | ScenePresence presence = (ScenePresence)update.Entity; | ||
4010 | |||
4011 | // If ParentUUID is not UUID.Zero and ParentID is 0, this | ||
4012 | // avatar is in the process of crossing regions while | ||
4013 | // sat on an object. In this state, we don't want any | ||
4014 | // updates because they will visually orbit the avatar. | ||
4015 | // Update will be forced once crossing is completed anyway. | ||
4016 | if (presence.ParentUUID != UUID.Zero && presence.ParentID == 0) | ||
4017 | continue; | ||
4018 | } | ||
4007 | 4019 | ||
4008 | ++updatesThisCall; | 4020 | ++updatesThisCall; |
4009 | 4021 | ||