diff options
Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527.
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 286c5a1..6838ab5 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -736,6 +736,11 @@ namespace OpenSim | |||
736 | protected override Scene CreateScene(RegionInfo regionInfo, StorageManager storageManager, | 736 | protected override Scene CreateScene(RegionInfo regionInfo, StorageManager storageManager, |
737 | AgentCircuitManager circuitManager) | 737 | AgentCircuitManager circuitManager) |
738 | { | 738 | { |
739 | bool hgrid = ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false); | ||
740 | if (hgrid) | ||
741 | return HGCommands.CreateScene(regionInfo, circuitManager, m_commsManager, | ||
742 | storageManager, m_moduleLoader, m_configSettings, m_config, m_version); | ||
743 | |||
739 | SceneCommunicationService sceneGridService = new SceneCommunicationService(m_commsManager); | 744 | SceneCommunicationService sceneGridService = new SceneCommunicationService(m_commsManager); |
740 | 745 | ||
741 | return new Scene( | 746 | return new Scene( |