diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
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 | { |