aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 17:27:04 +0000
committerJustin Clarke Casey2009-01-06 17:27:04 +0000
commitb1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2 (patch)
treea8b3e4dc31294e0d9507dcdbd0bfae5e1a42145c /OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
parent* Remove unused CAPSService (diff)
downloadopensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.zip
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.gz
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.bz2
opensim-SC_OLD-b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2.tar.xz
* minor: Move GetRandomCapsPath() to a CapsUtil class
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
index 9282f14..82b9d89 100644
--- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
@@ -36,6 +36,7 @@ using log4net;
36using OpenSim.Region.Environment.Interfaces; 36using OpenSim.Region.Environment.Interfaces;
37using OpenSim.Framework; 37using OpenSim.Framework;
38using OpenSim.Framework.Communications; 38using OpenSim.Framework.Communications;
39using OpenSim.Framework.Communications.Capabilities;
39using OpenSim.Region.Interfaces; 40using OpenSim.Region.Interfaces;
40using OSD = OpenMetaverse.StructuredData.OSD; 41using OSD = OpenMetaverse.StructuredData.OSD;
41 42
@@ -393,7 +394,7 @@ namespace OpenSim.Region.Environment.Scenes
393 394
394 if (newRegions.Contains(neighbour.RegionHandle)) 395 if (newRegions.Contains(neighbour.RegionHandle))
395 { 396 {
396 agent.CapsPath = Util.GetRandomCapsPath(); 397 agent.CapsPath = CapsUtil.GetRandomCapsPath();
397 avatar.AddNeighbourRegion(neighbour.RegionHandle, agent.CapsPath); 398 avatar.AddNeighbourRegion(neighbour.RegionHandle, agent.CapsPath);
398 seeds.Add(neighbour.RegionHandle, agent.CapsPath); 399 seeds.Add(neighbour.RegionHandle, agent.CapsPath);
399 } 400 }
@@ -784,7 +785,7 @@ namespace OpenSim.Region.Environment.Scenes
784 if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) 785 if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
785 { 786 {
786 // brand new agent, let's create a new caps seed 787 // brand new agent, let's create a new caps seed
787 agentCircuit.CapsPath = Util.GetRandomCapsPath(); 788 agentCircuit.CapsPath = CapsUtil.GetRandomCapsPath();
788 } 789 }
789 790
790 // Let's create an agent there if one doesn't exist yet. 791 // Let's create an agent there if one doesn't exist yet.