diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 1be0617..2b667c9 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2912,6 +2912,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
2912 | } | 2912 | } |
2913 | } | 2913 | } |
2914 | 2914 | ||
2915 | public RegionInfo RequestClosestRegion(string name) | ||
2916 | { | ||
2917 | return m_sceneGridService.RequestClosestRegion(name); | ||
2918 | } | ||
2919 | |||
2915 | #endregion | 2920 | #endregion |
2916 | 2921 | ||
2917 | #region Script Engine | 2922 | #region Script Engine |
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 885d1e9..d2d75e8 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -112,6 +112,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||
115 | public RegionInfo RequestClosestRegion(string name) | ||
116 | { | ||
117 | return m_commsProvider.GridService.RequestClosestRegion(name); | ||
118 | } | ||
119 | |||
115 | public void Close() | 120 | public void Close() |
116 | { | 121 | { |
117 | if (regionCommsHost != null) | 122 | if (regionCommsHost != null) |