aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs13
2 files changed, 4 insertions, 11 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 515b1d6..0f6d2f3 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -2141,7 +2141,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2141 sp.KnownRegions = seeds; 2141 sp.KnownRegions = seeds;
2142 sp.SetNeighbourRegionSizeInfo(neighbours); 2142 sp.SetNeighbourRegionSizeInfo(neighbours);
2143 2143
2144 if(newneighbours.Count > 0 || previousRegionNeighbourHandles.Count > 0) 2144 if(neighbours.Count > 0)
2145 { 2145 {
2146 AgentPosition agentpos = new AgentPosition(); 2146 AgentPosition agentpos = new AgentPosition();
2147 agentpos.AgentID = new UUID(sp.UUID.Guid); 2147 agentpos.AgentID = new UUID(sp.UUID.Guid);
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 7e20592..fd4b3a3 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2338,16 +2338,9 @@ namespace OpenSim.Region.Framework.Scenes
2338 m_agentTransfer.EnableChildAgents(this); 2338 m_agentTransfer.EnableChildAgents(this);
2339 } 2339 }
2340 } 2340 }
2341 if(gotCrossUpdate) 2341
2342 { 2342 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000;
2343 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000; 2343 m_lastChildAgentUpdateDrawDistance = DrawDistance;
2344 m_lastChildAgentUpdateDrawDistance = DrawDistance;
2345 }
2346 else
2347 {
2348 m_lastChildUpdatesTime = 0;
2349 m_lastChildAgentUpdateDrawDistance = -1000;
2350 }
2351 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel; 2344 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
2352 m_lastChildAgentUpdatePosition = AbsolutePosition; 2345 m_lastChildAgentUpdatePosition = AbsolutePosition;
2353 m_childUpdatesBusy = false; // allow them 2346 m_childUpdatesBusy = false; // allow them