diff options
author | Jeff Ames | 2008-05-14 06:09:39 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 06:09:39 +0000 |
commit | b7a0855c3afea27f207655fca25651b19b41636a (patch) | |
tree | d049510e51b337a82ebbf88e197b3141511d9155 /OpenSim/Region/Application/OpenSimMain.cs | |
parent | Applied Patch mantis 1220. Implements llGetStartParameter. Thanks! (diff) | |
download | opensim-SC_OLD-b7a0855c3afea27f207655fca25651b19b41636a.zip opensim-SC_OLD-b7a0855c3afea27f207655fca25651b19b41636a.tar.gz opensim-SC_OLD-b7a0855c3afea27f207655fca25651b19b41636a.tar.bz2 opensim-SC_OLD-b7a0855c3afea27f207655fca25651b19b41636a.tar.xz |
More formatting cleanup. Minor refactoring.
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index c7094c7..639e3c2 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -745,13 +745,7 @@ namespace OpenSim | |||
745 | /// <param name="regionnum">The first out parameter describing the number of regions</param> | 745 | /// <param name="regionnum">The first out parameter describing the number of regions</param> |
746 | public void GetRegionNumber(out int regionnum) | 746 | public void GetRegionNumber(out int regionnum) |
747 | { | 747 | { |
748 | int accounter = 0; | 748 | regionnum = m_sceneManager.Scenes.Count; |
749 | //List<string> regionNameList = new List<string>(); | ||
750 | |||
751 | m_sceneManager.ForEachScene(delegate(Scene scene) { | ||
752 | accounter++; | ||
753 | }); | ||
754 | regionnum = accounter; | ||
755 | } | 749 | } |
756 | } | 750 | } |
757 | } | 751 | } |