aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
index 92c9463..255c185 100644
--- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
+++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs
@@ -44,6 +44,7 @@ using OpenSim.Framework.Communications.Cache;
44using OpenSim.Region.Environment.Interfaces; 44using OpenSim.Region.Environment.Interfaces;
45using OpenSim.Region.Interfaces; 45using OpenSim.Region.Interfaces;
46using OpenSim.Region.Environment.Scenes; 46using OpenSim.Region.Environment.Scenes;
47using OpenSim.Region.Environment.Scenes.Hypergrid;
47using OpenSim.Region.Environment.Modules.Communications.Local; 48using OpenSim.Region.Environment.Modules.Communications.Local;
48 49
49namespace OpenSim.Region.Environment.Modules.Communications.REST 50namespace OpenSim.Region.Environment.Modules.Communications.REST
@@ -291,6 +292,9 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST
291 292
292 protected virtual ulong GetRegionHandle(RegionInfo region) 293 protected virtual ulong GetRegionHandle(RegionInfo region)
293 { 294 {
295 if (m_aScene.SceneGridService is HGSceneCommunicationService)
296 return ((HGSceneCommunicationService)(m_aScene.SceneGridService)).m_hg.FindRegionHandle(region.RegionHandle);
297
294 return region.RegionHandle; 298 return region.RegionHandle;
295 } 299 }
296 300