aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-12-16 23:54:48 +0000
committerUbitUmarov2015-12-16 23:54:48 +0000
commit3505ab759d61b511f12485541c36cb8aac8e4736 (patch)
treea3c5a06fd1cae68297e4bee460d6721c86f3e783 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentfix test: scene update needs to run after the delay (diff)
downloadopensim-SC_OLD-3505ab759d61b511f12485541c36cb8aac8e4736.zip
opensim-SC_OLD-3505ab759d61b511f12485541c36cb8aac8e4736.tar.gz
opensim-SC_OLD-3505ab759d61b511f12485541c36cb8aac8e4736.tar.bz2
opensim-SC_OLD-3505ab759d61b511f12485541c36cb8aac8e4736.tar.xz
dont bother another thread to try to send if there is no one to listen
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index d870830..f5ca3ef 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3896,8 +3896,16 @@ namespace OpenSim.Region.Framework.Scenes
3896 m_scene.EventManager.TriggerSignificantClientMovement(this); 3896 m_scene.EventManager.TriggerSignificantClientMovement(this);
3897 } 3897 }
3898 3898
3899 if(!childUpdatesBusy) 3899 if(childUpdatesBusy)
3900 { 3900 return;
3901
3902 //possible KnownRegionHandles always contains current region and this check is not needed
3903 int minhandles = 0;
3904 if(KnownRegionHandles.Contains(RegionHandle))
3905 minhandles++;
3906
3907 if(KnownRegionHandles.Count > minhandles)
3908 {
3901 int tdiff = Util.EnvironmentTickCountSubtract(lastChildUpdatesTime); 3909 int tdiff = Util.EnvironmentTickCountSubtract(lastChildUpdatesTime);
3902 if(tdiff > CHILDUPDATES_TIME) 3910 if(tdiff > CHILDUPDATES_TIME)
3903 { 3911 {