diff options
author | Diva Canto | 2009-09-26 07:48:21 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-26 07:48:21 -0700 |
commit | 5757afe7665543e8b3ed4a322a7d6e095dafcdb3 (patch) | |
tree | bed3c7ab11459e84baa5a0fbd98dde4a81fd5e16 /OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | |
parent | More small changes to FlotsamAssetCache as per mcortez' request. (diff) | |
download | opensim-SC-5757afe7665543e8b3ed4a322a7d6e095dafcdb3.zip opensim-SC-5757afe7665543e8b3ed4a322a7d6e095dafcdb3.tar.gz opensim-SC-5757afe7665543e8b3ed4a322a7d6e095dafcdb3.tar.bz2 opensim-SC-5757afe7665543e8b3ed4a322a7d6e095dafcdb3.tar.xz |
First pass at the heart surgery for grid services. Compiles and runs minimally. A few bugs to catch now.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs index 5c99d73..e8e5e78 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | |||
@@ -38,6 +38,7 @@ using OpenSim.Framework.Communications; | |||
38 | using OpenSim.Framework.Communications.Cache; | 38 | using OpenSim.Framework.Communications.Cache; |
39 | using OpenSim.Framework.Capabilities; | 39 | using OpenSim.Framework.Capabilities; |
40 | using OpenSim.Region.Framework.Interfaces; | 40 | using OpenSim.Region.Framework.Interfaces; |
41 | using GridRegion = OpenSim.Services.Interfaces.GridRegion; | ||
41 | 42 | ||
42 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 43 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
43 | { | 44 | { |
@@ -106,7 +107,10 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid | |||
106 | } | 107 | } |
107 | else | 108 | else |
108 | { | 109 | { |
109 | RegionInfo reg = RequestNeighbouringRegionInfo(regionHandle); | 110 | uint x = 0, y = 0; |
111 | Utils.LongToUInts(regionHandle, out x, out y); | ||
112 | GridRegion reg = m_scene.GridService.GetRegionByPosition(m_scene.RegionInfo.ScopeID, (int)x, (int)y); | ||
113 | |||
110 | if (reg != null) | 114 | if (reg != null) |
111 | { | 115 | { |
112 | 116 | ||