aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authordiva2009-04-27 00:16:59 +0000
committerdiva2009-04-27 00:16:59 +0000
commitd8313e314feddc492ec9d8e657aa7d0a15a7004b (patch)
tree4024a8bebbc83745b1df22981b001559346bc247 /OpenSim/Region/Application/OpenSimBase.cs
parentHGWorldMap got a bit out of sync during the introduction of the new module sy... (diff)
downloadopensim-SC_OLD-d8313e314feddc492ec9d8e657aa7d0a15a7004b.zip
opensim-SC_OLD-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.gz
opensim-SC_OLD-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.bz2
opensim-SC_OLD-d8313e314feddc492ec9d8e657aa7d0a15a7004b.tar.xz
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.cs5
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(