diff options
author | Jeff Ames | 2007-12-07 02:00:35 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-07 02:00:35 +0000 |
commit | a45118d35e35c3f46ad165f978efd8d87e0da2b1 (patch) | |
tree | 931387e9596b4d390ed926a68d9fe087066d4717 /OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs | |
parent | added a lock to prevent multiple Timer popping races (diff) | |
download | opensim-SC-a45118d35e35c3f46ad165f978efd8d87e0da2b1.zip opensim-SC-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.gz opensim-SC-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.bz2 opensim-SC-a45118d35e35c3f46ad165f978efd8d87e0da2b1.tar.xz |
added one more command to the console help.
Diffstat (limited to 'OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs')
-rw-r--r-- | OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs b/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs index 7179a7f..068c7c4 100644 --- a/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs +++ b/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs | |||
@@ -39,6 +39,7 @@ namespace OpenSim.Framework.RegionLoader.Filesystem | |||
39 | public void SetIniConfigSource(IniConfigSource configSource) | 39 | public void SetIniConfigSource(IniConfigSource configSource) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | |||
42 | public RegionInfo[] LoadRegions() | 43 | public RegionInfo[] LoadRegions() |
43 | { | 44 | { |
44 | string regionConfigPath = Path.Combine(Util.configDir(), "Regions"); | 45 | string regionConfigPath = Path.Combine(Util.configDir(), "Regions"); |
@@ -59,14 +60,11 @@ namespace OpenSim.Framework.RegionLoader.Filesystem | |||
59 | RegionInfo[] regionInfos = new RegionInfo[configFiles.Length]; | 60 | RegionInfo[] regionInfos = new RegionInfo[configFiles.Length]; |
60 | for (int i = 0; i < configFiles.Length; i++) | 61 | for (int i = 0; i < configFiles.Length; i++) |
61 | { | 62 | { |
62 | |||
63 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), configFiles[i]); | 63 | RegionInfo regionInfo = new RegionInfo("REGION CONFIG #" + (i + 1), configFiles[i]); |
64 | regionInfos[i] = regionInfo; | 64 | regionInfos[i] = regionInfo; |
65 | } | 65 | } |
66 | 66 | ||
67 | |||
68 | return regionInfos; | 67 | return regionInfos; |
69 | } | 68 | } |
70 | |||
71 | } | 69 | } |
72 | } | 70 | } |