From 220f82a0f0e05ab7d01c9028675c5c779cb6f5fc Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 11 Sep 2010 00:27:52 +0100 Subject: Make it clear that the "create region" command will reference ini files in the regions directory (usually Regions/) Also convert some tabs into spaces. --- OpenSim/Region/Application/OpenSim.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 3c2575d..4f2d223 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -316,7 +316,7 @@ namespace OpenSim m_console.Commands.AddCommand("region", false, "create region", "create region [\"region name\"] ", "Create a new region.", - "The settings for \"region name\" are read from ." + "The settings for \"region name\" are read from in your Regions directory." + " If \"region name\" does not exist in , it will be added." + Environment.NewLine + "Without \"region name\", the first region found in will be created." + Environment.NewLine + "If does not exist, it will be created.", @@ -552,17 +552,18 @@ namespace OpenSim regionFile = Path.Combine(regionsDir, regionFile); } - RegionInfo regInfo; + RegionInfo regInfo; if (isXml) { - regInfo = new RegionInfo(regionName, regionFile, false, ConfigSource.Source); + regInfo = new RegionInfo(regionName, regionFile, false, ConfigSource.Source); } else { - regInfo = new RegionInfo(regionName, regionFile, false, ConfigSource.Source, regionName); + regInfo = new RegionInfo(regionName, regionFile, false, ConfigSource.Source, regionName); } + IScene scene; - PopulateRegionEstateInfo(regInfo); + PopulateRegionEstateInfo(regInfo); CreateRegion(regInfo, true, out scene); regInfo.EstateSettings.Save(); } -- cgit v1.1