diff options
author | Justin Clarke Casey | 2009-01-06 17:27:04 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 17:27:04 +0000 |
commit | b1c2cb3d8206b845a26fe04371dc1a1a6b2cbec2 (patch) | |
tree | a8b3e4dc31294e0d9507dcdbd0bfae5e1a42145c /OpenSim/Region/Environment/Scenes/Hypergrid | |
parent | * Remove unused CAPSService (diff) | |
download | opensim-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/Hypergrid')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs | 9 |
1 files changed, 4 insertions, 5 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)) |