aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs1
2 files changed, 3 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}
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index f594789..4d2c8e2 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -413,6 +413,7 @@ namespace OpenSim.Region.Environment.Scenes
413 m_isChildAgent = false; 413 m_isChildAgent = false;
414 414
415 //this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient); 415 //this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient);
416 this.MakeAvatarPhysical(this.AbsolutePosition, false);
416 } 417 }
417 } 418 }
418 419