mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
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.
This commit is contained in:
@@ -736,6 +736,11 @@ namespace OpenSim
|
||||
protected override Scene CreateScene(RegionInfo regionInfo, StorageManager storageManager,
|
||||
AgentCircuitManager circuitManager)
|
||||
{
|
||||
bool hgrid = ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false);
|
||||
if (hgrid)
|
||||
return HGCommands.CreateScene(regionInfo, circuitManager, m_commsManager,
|
||||
storageManager, m_moduleLoader, m_configSettings, m_config, m_version);
|
||||
|
||||
SceneCommunicationService sceneGridService = new SceneCommunicationService(m_commsManager);
|
||||
|
||||
return new Scene(
|
||||
|
||||
Reference in New Issue
Block a user