aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2010-01-24 15:04:41 -0800
committerDiva Canto2010-01-24 15:04:41 -0800
commitea3d287f70d48eb2d3abf6eb1506bf64674874c5 (patch)
tree6b18f49a8bc9994ea615ac0dd890adb55cd68ec1 /OpenSim/Region
parentIntegrated the hyperlinking with the GridService. (diff)
downloadopensim-SC-ea3d287f70d48eb2d3abf6eb1506bf64674874c5.zip
opensim-SC-ea3d287f70d48eb2d3abf6eb1506bf64674874c5.tar.gz
opensim-SC-ea3d287f70d48eb2d3abf6eb1506bf64674874c5.tar.bz2
opensim-SC-ea3d287f70d48eb2d3abf6eb1506bf64674874c5.tar.xz
Some method implementations were missing from LocalGridServiceConnector.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs30
2 files changed, 17 insertions, 15 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
index e237ca2..a1de57a 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
@@ -124,8 +124,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
124 protected override GridRegion GetFinalDestination(GridRegion region) 124 protected override GridRegion GetFinalDestination(GridRegion region)
125 { 125 {
126 int flags = m_aScene.GridService.GetRegionFlags(m_aScene.RegionInfo.ScopeID, region.RegionID); 126 int flags = m_aScene.GridService.GetRegionFlags(m_aScene.RegionInfo.ScopeID, region.RegionID);
127 //m_log.DebugFormat("[HG ENTITY TRANSFER MODULE]: region {0} flags: {1}", region.RegionID, flags);
127 if ((flags & (int)OpenSim.Data.RegionFlags.Hyperlink) != 0) 128 if ((flags & (int)OpenSim.Data.RegionFlags.Hyperlink) != 0)
128 { 129 {
130 m_log.DebugFormat("[HG ENTITY TRANSFER MODULE]: Destination region {0} is hyperlink", region.RegionID);
129 return m_GatekeeperConnector.GetHyperlinkRegion(region, region.RegionID); 131 return m_GatekeeperConnector.GetHyperlinkRegion(region, region.RegionID);
130 } 132 }
131 return region; 133 return region;
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
index 86a8c13..1b00c8a 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
@@ -238,6 +238,21 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
238 return m_GridService.GetRegionRange(scopeID, xmin, xmax, ymin, ymax); 238 return m_GridService.GetRegionRange(scopeID, xmin, xmax, ymin, ymax);
239 } 239 }
240 240
241 public List<GridRegion> GetDefaultRegions(UUID scopeID)
242 {
243 return m_GridService.GetDefaultRegions(scopeID);
244 }
245
246 public List<GridRegion> GetFallbackRegions(UUID scopeID, int x, int y)
247 {
248 return m_GridService.GetFallbackRegions(scopeID, x, y);
249 }
250
251 public int GetRegionFlags(UUID scopeID, UUID regionID)
252 {
253 return m_GridService.GetRegionFlags(scopeID, regionID);
254 }
255
241 #endregion 256 #endregion
242 257
243 public void NeighboursCommand(string module, string[] cmdparams) 258 public void NeighboursCommand(string module, string[] cmdparams)
@@ -251,20 +266,5 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
251 } 266 }
252 } 267 }
253 268
254 public List<GridRegion> GetDefaultRegions(UUID scopeID)
255 {
256 return null;
257 }
258
259 public List<GridRegion> GetFallbackRegions(UUID scopeID, int x, int y)
260 {
261 return null;
262 }
263
264 public int GetRegionFlags(UUID scopeID, UUID regionID)
265 {
266 return 0;
267 }
268
269 } 269 }
270} 270}