diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index b4e8f09..d542e47 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1354,7 +1354,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1354 | 1354 | ||
1355 | private bool WaitForUpdateAgent(IClientAPI client) | 1355 | private bool WaitForUpdateAgent(IClientAPI client) |
1356 | { | 1356 | { |
1357 | // Before UpdateAgent, m_originRegionID is UUID.Zero; after, it's non-Zero | 1357 | // Before the source region executes UpdateAgent |
1358 | // (which triggers Scene.IncomingChildAgentDataUpdate(AgentData cAgentData) here in the destination, | ||
1359 | // m_originRegionID is UUID.Zero; after, it's non-Zero. The CompleteMovement sequence initiated from the | ||
1360 | // viewer (in turn triggered by the source region sending it a TeleportFinish event) waits until it's non-zero | ||
1358 | int count = 50; | 1361 | int count = 50; |
1359 | while (m_originRegionID.Equals(UUID.Zero) && count-- > 0) | 1362 | while (m_originRegionID.Equals(UUID.Zero) && count-- > 0) |
1360 | { | 1363 | { |