diff options
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index f9fe7f0..2674eef 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -344,9 +344,10 @@ namespace OpenSim.Services.LLLoginService | |||
344 | // | 344 | // |
345 | // Instantiate/get the simulation interface and launch an agent at the destination | 345 | // Instantiate/get the simulation interface and launch an agent at the destination |
346 | // | 346 | // |
347 | string reason = string.Empty; | 347 | string reason = string.Empty; |
348 | AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason); | 348 | GridRegion dest; |
349 | 349 | AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason, out dest); | |
350 | destination = dest; | ||
350 | if (aCircuit == null) | 351 | if (aCircuit == null) |
351 | { | 352 | { |
352 | m_PresenceService.LogoutAgent(session); | 353 | m_PresenceService.LogoutAgent(session); |
@@ -605,7 +606,7 @@ namespace OpenSim.Services.LLLoginService | |||
605 | } | 606 | } |
606 | 607 | ||
607 | protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, | 608 | protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, |
608 | UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason) | 609 | UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason, out GridRegion dest) |
609 | { | 610 | { |
610 | where = currentWhere; | 611 | where = currentWhere; |
611 | ISimulationService simConnector = null; | 612 | ISimulationService simConnector = null; |
@@ -690,8 +691,8 @@ namespace OpenSim.Services.LLLoginService | |||
690 | } | 691 | } |
691 | } | 692 | } |
692 | } | 693 | } |
693 | } | 694 | } |
694 | 695 | dest = destination; | |
695 | if (success) | 696 | if (success) |
696 | return aCircuit; | 697 | return aCircuit; |
697 | else | 698 | else |