aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 050bf95..67a4b97 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -545,6 +545,7 @@ namespace OpenSim.Region.Environment.Scenes
545 545
546 m_scene.SwapRootAgentCount(false); 546 m_scene.SwapRootAgentCount(false);
547 m_scene.CommsManager.UserProfileCacheService.UpdateUserInventory(m_uuid); 547 m_scene.CommsManager.UserProfileCacheService.UpdateUserInventory(m_uuid);
548 m_scene.AddCapsHandler(m_uuid);
548 //if (!m_gotAllObjectsInScene) 549 //if (!m_gotAllObjectsInScene)
549 //{ 550 //{
550 m_scene.SendAllSceneObjectsToClient(this); 551 m_scene.SendAllSceneObjectsToClient(this);
@@ -1616,7 +1617,15 @@ namespace OpenSim.Region.Environment.Scenes
1616 if (res) 1617 if (res)
1617 { 1618 {
1618 AgentCircuitData circuitdata = m_controllingClient.RequestClientInfo(); 1619 AgentCircuitData circuitdata = m_controllingClient.RequestClientInfo();
1619 string capsPath = Util.GetCapsURL(m_controllingClient.AgentId); 1620
1621 // TODO Should construct this behind a method
1622 string capsPath =
1623 "http://" + neighbourRegion.ExternalHostName + ":" + 9000
1624 + "/CAPS/" + circuitdata.CapsPath + "0000/";
1625
1626 m_log.DebugFormat(
1627 "[CONNECTION DEBUGGING]: Sending new CAPS seed url {0} to avatar {1}", capsPath, m_uuid);
1628
1620 m_controllingClient.CrossRegion(neighbourHandle, newpos, vel, neighbourRegion.ExternalEndPoint, 1629 m_controllingClient.CrossRegion(neighbourHandle, newpos, vel, neighbourRegion.ExternalEndPoint,
1621 capsPath); 1630 capsPath);
1622 MakeChildAgent(); 1631 MakeChildAgent();