diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 22f69a5..97a4ae1 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1063,9 +1063,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
1063 | // agent.startpos = new LLVector3(128, 128, 70); | 1063 | // agent.startpos = new LLVector3(128, 128, 70); |
1064 | agent.startpos = position; | 1064 | agent.startpos = position; |
1065 | agent.child = true; | 1065 | agent.child = true; |
1066 | m_scenePresences[remoteClient.AgentId].Close(); | ||
1066 | commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); | 1067 | commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, agent); |
1067 | commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); | 1068 | commsManager.InterRegion.ExpectAvatarCrossing(regionHandle, remoteClient.AgentId, position, false); |
1068 | |||
1069 | AgentCircuitData circuitdata = remoteClient.RequestClientInfo(); | 1069 | AgentCircuitData circuitdata = remoteClient.RequestClientInfo(); |
1070 | string capsPath = Util.GetCapsURL(remoteClient.AgentId); | 1070 | string capsPath = Util.GetCapsURL(remoteClient.AgentId); |
1071 | remoteClient.SendRegionTeleport(regionHandle, 13, reg.ExternalEndPoint, 4, (1 << 4), capsPath); | 1071 | remoteClient.SendRegionTeleport(regionHandle, 13, reg.ExternalEndPoint, 4, (1 << 4), capsPath); |
@@ -1364,4 +1364,4 @@ namespace OpenSim.Region.Environment.Scenes | |||
1364 | base.Close(); | 1364 | base.Close(); |
1365 | } | 1365 | } |
1366 | } | 1366 | } |
1367 | } \ No newline at end of file | 1367 | } |