From 31b0f07085eafd63039681b6c57aca289b9fe532 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 6 Jan 2009 18:26:27 +0000 Subject: * Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere * Last build break was probably a Bamboo failure - hopefully this should succeed --- .../Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs | 2 +- OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs index 14e0a15..bb7406f 100644 --- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs @@ -188,7 +188,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) { // brand new agent, let's create a new caps seed - agentCircuit.CapsPath = CapsUtil.GetRandomCapsPath(); + agentCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath(); } //if (!m_commsProvider.InterRegion.InformRegionOfChildAgent(reg.RegionHandle, agentCircuit)) diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 7f56e71..ba8080c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -394,7 +394,7 @@ namespace OpenSim.Region.Environment.Scenes if (newRegions.Contains(neighbour.RegionHandle)) { - agent.CapsPath = CapsUtil.GetRandomCapsPath(); + agent.CapsPath = CapsUtil.GetRandomCapsObjectPath(); avatar.AddNeighbourRegion(neighbour.RegionHandle, agent.CapsPath); seeds.Add(neighbour.RegionHandle, agent.CapsPath); } @@ -682,7 +682,7 @@ namespace OpenSim.Region.Environment.Scenes public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, Vector3 lookAt, uint teleportFlags) { - m_log.DebugFormat("[SCENE COMMUNICATION SERVICE] RequestTeleportToLocation {0} ", position.ToString()); + m_log.DebugFormat("[SCENE COMMUNICATION SERVICE]: RequestTeleportToLocation {0} ", position.ToString()); if (!avatar.Scene.Permissions.CanTeleport(avatar.UUID)) return; @@ -732,7 +732,6 @@ namespace OpenSim.Region.Environment.Scenes { // region is remote. see if it is up destRegionUp = m_commsProvider.InterRegion.CheckRegion(reg.RemotingAddress, reg.RemotingPort); - } else { @@ -785,7 +784,7 @@ namespace OpenSim.Region.Environment.Scenes if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) { // brand new agent, let's create a new caps seed - agentCircuit.CapsPath = CapsUtil.GetRandomCapsPath(); + agentCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath(); } // Let's create an agent there if one doesn't exist yet. -- cgit v1.1