diff options
author | Melanie | 2013-09-08 19:41:51 +0200 |
---|---|---|
committer | Melanie | 2013-09-08 19:41:51 +0200 |
commit | ddf67bf929fbc32d8319f777b248642b4da0305a (patch) | |
tree | ebf23628f16c04b9ec7ec14039ce31e6059ca842 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | Fix exception when brokering HG asset ids (diff) | |
download | opensim-SC_OLD-ddf67bf929fbc32d8319f777b248642b4da0305a.zip opensim-SC_OLD-ddf67bf929fbc32d8319f777b248642b4da0305a.tar.gz opensim-SC_OLD-ddf67bf929fbc32d8319f777b248642b4da0305a.tar.bz2 opensim-SC_OLD-ddf67bf929fbc32d8319f777b248642b4da0305a.tar.xz |
Mono 2.0 fix - call ToArray() explicitly
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 | ||