aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
authormeta72010-08-08 18:56:47 -0700
committerMelanie2010-08-09 02:23:59 +0100
commit144fc20e8734f6c070f75a5f1f571483f0f7ac18 (patch)
tree79ce4bd290d01bd063c3b128cfaa669ff34f1cce /OpenSim/Services/LLLoginService/LLLoginService.cs
parentRemove "Could not authorize your session into the region" message in favor (diff)
downloadopensim-SC-144fc20e8734f6c070f75a5f1f571483f0f7ac18.zip
opensim-SC-144fc20e8734f6c070f75a5f1f571483f0f7ac18.tar.gz
opensim-SC-144fc20e8734f6c070f75a5f1f571483f0f7ac18.tar.bz2
opensim-SC-144fc20e8734f6c070f75a5f1f571483f0f7ac18.tar.xz
Make fallbacks work, the destination was never actually updated with the fallback details.
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index fead901..4b7cb5d 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -339,8 +339,9 @@ namespace OpenSim.Services.LLLoginService
339 // Instantiate/get the simulation interface and launch an agent at the destination 339 // Instantiate/get the simulation interface and launch an agent at the destination
340 // 340 //
341 string reason = string.Empty; 341 string reason = string.Empty;
342 AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason); 342 GridRegion dest;
343 343 AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason, out dest);
344 destination = dest;
344 if (aCircuit == null) 345 if (aCircuit == null)
345 { 346 {
346 m_PresenceService.LogoutAgent(session); 347 m_PresenceService.LogoutAgent(session);
@@ -599,7 +600,7 @@ namespace OpenSim.Services.LLLoginService
599 } 600 }
600 601
601 protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, 602 protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar,
602 UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason) 603 UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason, out GridRegion dest)
603 { 604 {
604 where = currentWhere; 605 where = currentWhere;
605 ISimulationService simConnector = null; 606 ISimulationService simConnector = null;
@@ -685,7 +686,7 @@ namespace OpenSim.Services.LLLoginService
685 } 686 }
686 } 687 }
687 } 688 }
688 689 dest = destination;
689 if (success) 690 if (success)
690 return aCircuit; 691 return aCircuit;
691 else 692 else