mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
In teleports, pass the source region to the destination (similar to an HTTP referrer)
This commit is contained in:
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
// *** This is the first stage, when a neighbouring region is told that a viewer is about to try and
|
||||
// establish a child scene presence. We pass in the circuit code that the client has to connect with ***
|
||||
// XXX: ViaLogin may not be correct here.
|
||||
scene.SimulationService.CreateAgent(region, acd, (uint)TeleportFlags.ViaLogin, out reason);
|
||||
scene.SimulationService.CreateAgent(null, region, acd, (uint)TeleportFlags.ViaLogin, out reason);
|
||||
|
||||
Assert.That(scene.AuthenticateHandler.GetAgentCircuitData(agentId), Is.Not.Null);
|
||||
Assert.That(scene.AuthenticateHandler.GetAgentCircuits().Count, Is.EqualTo(1));
|
||||
|
||||
Reference in New Issue
Block a user