oops, thats elsewhere

0.9.1.0-post-fixes
UbitUmarov 2019-01-04 02:14:20 +00:00
parent f58a106068
commit e79f266714
2 changed files with 4 additions and 11 deletions

View File

@ -2141,7 +2141,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
sp.KnownRegions = seeds;
sp.SetNeighbourRegionSizeInfo(neighbours);
if(newneighbours.Count > 0 || previousRegionNeighbourHandles.Count > 0)
if(neighbours.Count > 0)
{
AgentPosition agentpos = new AgentPosition();
agentpos.AgentID = new UUID(sp.UUID.Guid);

View File

@ -2338,16 +2338,9 @@ namespace OpenSim.Region.Framework.Scenes
m_agentTransfer.EnableChildAgents(this);
}
}
if(gotCrossUpdate)
{
m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000;
m_lastChildAgentUpdateDrawDistance = DrawDistance;
}
else
{
m_lastChildUpdatesTime = 0;
m_lastChildAgentUpdateDrawDistance = -1000;
}
m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000;
m_lastChildAgentUpdateDrawDistance = DrawDistance;
m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
m_lastChildAgentUpdatePosition = AbsolutePosition;
m_childUpdatesBusy = false; // allow them