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 eebb8ae..f4ea975 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3933,6 +3933,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3933 | part.Shape.ProfileHollow = 27500; | 3933 | part.Shape.ProfileHollow = 27500; |
3934 | } | 3934 | } |
3935 | } | 3935 | } |
3936 | else if (update.Entity is ScenePresence) | ||
3937 | { | ||
3938 | ScenePresence presence = (ScenePresence)update.Entity; | ||
3939 | |||
3940 | // If ParentUUID is not UUID.Zero and ParentID is 0, this | ||
3941 | // avatar is in the process of crossing regions while | ||
3942 | // sat on an object. In this state, we don't want any | ||
3943 | // updates because they will visually orbit the avatar. | ||
3944 | // Update will be forced once crossing is completed anyway. | ||
3945 | if (presence.ParentUUID != UUID.Zero && presence.ParentID == 0) | ||
3946 | continue; | ||
3947 | } | ||
3936 | 3948 | ||
3937 | ++updatesThisCall; | 3949 | ++updatesThisCall; |
3938 | 3950 | ||