diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs | 4 |
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; | |||
44 | using OpenSim.Region.Environment.Interfaces; | 44 | using OpenSim.Region.Environment.Interfaces; |
45 | using OpenSim.Region.Interfaces; | 45 | using OpenSim.Region.Interfaces; |
46 | using OpenSim.Region.Environment.Scenes; | 46 | using OpenSim.Region.Environment.Scenes; |
47 | using OpenSim.Region.Environment.Scenes.Hypergrid; | ||
47 | using OpenSim.Region.Environment.Modules.Communications.Local; | 48 | using OpenSim.Region.Environment.Modules.Communications.Local; |
48 | 49 | ||
49 | namespace OpenSim.Region.Environment.Modules.Communications.REST | 50 | namespace 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 | ||