mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Removed obsolete interface IHyperlink.
This commit is contained in:
@@ -58,8 +58,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||
protected LocalSimulationConnectorModule m_localBackend;
|
||||
protected SimulationServiceConnector m_remoteConnector;
|
||||
|
||||
protected IHyperlinkService m_hyperlinkService;
|
||||
|
||||
protected bool m_safemode;
|
||||
protected IPAddress m_thisIP;
|
||||
|
||||
@@ -124,9 +122,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||
{
|
||||
if (!m_enabled)
|
||||
return;
|
||||
|
||||
m_hyperlinkService = m_aScene.RequestModuleInterface<IHyperlinkService>();
|
||||
|
||||
}
|
||||
|
||||
public Type ReplaceableInterface
|
||||
|
||||
@@ -104,25 +104,6 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
if (info != null) regionInfos.Add(info);
|
||||
}
|
||||
|
||||
if ((regionInfos.Count == 0))
|
||||
{
|
||||
// OK, we tried but there are no regions matching that name.
|
||||
// Let's check quickly if this is a domain name, and if so link to it
|
||||
if (mapName.Contains("."))
|
||||
{
|
||||
// It probably is a domain name. Try to link to it.
|
||||
GridRegion regInfo;
|
||||
Scene cScene = GetClientScene(remoteClient);
|
||||
IHyperlinkService hyperService = cScene.RequestModuleInterface<IHyperlinkService>();
|
||||
if (hyperService != null)
|
||||
{
|
||||
regInfo = hyperService.TryLinkRegion(remoteClient, mapName);
|
||||
if (regInfo != null)
|
||||
regionInfos.Add(regInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
List<MapBlockData> blocks = new List<MapBlockData>();
|
||||
|
||||
MapBlockData data;
|
||||
|
||||
Reference in New Issue
Block a user