first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained

This commit is contained in:
UbitUmarov
2016-07-27 23:13:24 +01:00
parent 9aacdca653
commit 01289b9c2d
2 changed files with 17 additions and 1 deletions

View File

@@ -218,6 +218,13 @@ namespace OpenSim
IConfig startupConfig = Config.Configs["Startup"];
if (startupConfig != null)
{
// refuse to run MegaRegions
if(startupConfig.GetBoolean("CombineContiguousRegions", false))
{
m_log.Fatal("CombineContiguousRegions (MegaRegions) option is no longer suported. Use a older version to save region contents as OAR, then import into a fresh install of this new version");
throw new Exception("CombineContiguousRegions not suported");
}
string pidFile = startupConfig.GetString("PIDFile", String.Empty);
if (pidFile != String.Empty)
CreatePIDFile(pidFile);