Make it possible to disable the HG linker. On non-HG systems it spits yellow
spam, so it should not load unless HG is desired.remove-scene-viewer
parent
0faa8db0ef
commit
4b7b9e81f7
|
@ -102,6 +102,13 @@ namespace OpenSim.Services.GridService
|
||||||
|
|
||||||
public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
|
public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
|
||||||
{
|
{
|
||||||
|
IConfig modulesConfig = config.Configs["Modules"];
|
||||||
|
if (modulesConfig == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (modulesConfig.GetString("HypergridLinker", "") != "HypergridLinker")
|
||||||
|
return;
|
||||||
|
|
||||||
m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
|
m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
|
||||||
|
|
||||||
m_Database = db;
|
m_Database = db;
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
LandServices = "RemoteLandServicesConnector"
|
LandServices = "RemoteLandServicesConnector"
|
||||||
FriendsModule = "HGFriendsModule"
|
FriendsModule = "HGFriendsModule"
|
||||||
MapImageService = "MapImageServiceModule"
|
MapImageService = "MapImageServiceModule"
|
||||||
|
HypergridLinker = "HypergridLinker"
|
||||||
|
|
||||||
LandServiceInConnector = true
|
LandServiceInConnector = true
|
||||||
NeighbourServiceInConnector = true
|
NeighbourServiceInConnector = true
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
LibraryModule = false
|
LibraryModule = false
|
||||||
|
|
||||||
AssetCaching = "FlotsamAssetCache"
|
AssetCaching = "FlotsamAssetCache"
|
||||||
|
HypergridLinker = "HypergridLinker"
|
||||||
|
|
||||||
[SimulationDataStore]
|
[SimulationDataStore]
|
||||||
LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService"
|
LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
EntityTransferModule = "HGEntityTransferModule"
|
EntityTransferModule = "HGEntityTransferModule"
|
||||||
InventoryAccessModule = "HGInventoryAccessModule"
|
InventoryAccessModule = "HGInventoryAccessModule"
|
||||||
FriendsModule = "HGFriendsModule"
|
FriendsModule = "HGFriendsModule"
|
||||||
|
HypergridLinker = "HypergridLinker"
|
||||||
|
|
||||||
InventoryServiceInConnector = true
|
InventoryServiceInConnector = true
|
||||||
AssetServiceInConnector = true
|
AssetServiceInConnector = true
|
||||||
|
|
Loading…
Reference in New Issue