diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
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; | |||
36 | using OpenSim.Region.Environment.Interfaces; | 36 | using OpenSim.Region.Environment.Interfaces; |
37 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
38 | using OpenSim.Framework.Communications; | 38 | using OpenSim.Framework.Communications; |
39 | using OpenSim.Framework.Communications.Capabilities; | ||
39 | using OpenSim.Region.Interfaces; | 40 | using OpenSim.Region.Interfaces; |
40 | using OSD = OpenMetaverse.StructuredData.OSD; | 41 | using 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. |