diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs index c53605f..b793de1 100644 --- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs | |||
@@ -31,17 +31,16 @@ using System.Collections.Generic; | |||
31 | using System.Net; | 31 | using System.Net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Threading; | 33 | using System.Threading; |
34 | |||
35 | using OpenMetaverse; | ||
36 | |||
37 | using log4net; | 34 | using log4net; |
35 | using OpenMetaverse; | ||
36 | using OSD = OpenMetaverse.StructuredData.OSD; | ||
38 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
39 | using OpenSim.Framework.Communications; | 38 | using OpenSim.Framework.Communications; |
40 | using OpenSim.Framework.Communications.Cache; | 39 | using OpenSim.Framework.Communications.Cache; |
40 | using OpenSim.Framework.Communications.Capabilities; | ||
41 | using OpenSim.Region.Environment.Scenes; | 41 | using OpenSim.Region.Environment.Scenes; |
42 | using OpenSim.Region.Environment; | 42 | using OpenSim.Region.Environment; |
43 | using OpenSim.Region.Interfaces; | 43 | using OpenSim.Region.Interfaces; |
44 | using OSD = OpenMetaverse.StructuredData.OSD; | ||
45 | 44 | ||
46 | namespace OpenSim.Region.Environment.Scenes.Hypergrid | 45 | namespace OpenSim.Region.Environment.Scenes.Hypergrid |
47 | { | 46 | { |
@@ -189,7 +188,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid | |||
189 | if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) | 188 | if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) |
190 | { | 189 | { |
191 | // brand new agent, let's create a new caps seed | 190 | // brand new agent, let's create a new caps seed |
192 | agentCircuit.CapsPath = Util.GetRandomCapsPath(); | 191 | agentCircuit.CapsPath = CapsUtil.GetRandomCapsPath(); |
193 | } | 192 | } |
194 | 193 | ||
195 | //if (!m_commsProvider.InterRegion.InformRegionOfChildAgent(reg.RegionHandle, agentCircuit)) | 194 | //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 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. |