dont bother another thread to try to send if there is no one to listen
parent
19c551e815
commit
3505ab759d
|
@ -3896,8 +3896,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
m_scene.EventManager.TriggerSignificantClientMovement(this);
|
m_scene.EventManager.TriggerSignificantClientMovement(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!childUpdatesBusy)
|
if(childUpdatesBusy)
|
||||||
{
|
return;
|
||||||
|
|
||||||
|
//possible KnownRegionHandles always contains current region and this check is not needed
|
||||||
|
int minhandles = 0;
|
||||||
|
if(KnownRegionHandles.Contains(RegionHandle))
|
||||||
|
minhandles++;
|
||||||
|
|
||||||
|
if(KnownRegionHandles.Count > minhandles)
|
||||||
|
{
|
||||||
int tdiff = Util.EnvironmentTickCountSubtract(lastChildUpdatesTime);
|
int tdiff = Util.EnvironmentTickCountSubtract(lastChildUpdatesTime);
|
||||||
if(tdiff > CHILDUPDATES_TIME)
|
if(tdiff > CHILDUPDATES_TIME)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue