aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionLoader
diff options
context:
space:
mode:
authorMelanie2014-04-12 16:58:07 +0100
committerMelanie2014-04-12 16:58:07 +0100
commit5d964a6424b301a9175becd6c878e542b7d278eb (patch)
treea0ce19775822fd1d3298276dc893a061127aedbc /OpenSim/Framework/RegionLoader
parentTweak to PrimLimits and add missing Regions.ini example (diff)
downloadopensim-SC_OLD-5d964a6424b301a9175becd6c878e542b7d278eb.zip
opensim-SC_OLD-5d964a6424b301a9175becd6c878e542b7d278eb.tar.gz
opensim-SC_OLD-5d964a6424b301a9175becd6c878e542b7d278eb.tar.bz2
opensim-SC_OLD-5d964a6424b301a9175becd6c878e542b7d278eb.tar.xz
Remove the old XML format parsing. Now additional region params can just be
added as they are already exposed through an API when using Nini. That will remove the need to always edit RegioInfo just to add a region based setting.
Diffstat (limited to 'OpenSim/Framework/RegionLoader')
-rw-r--r--OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
index 05c64fa..f60bb12 100644
--- a/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
+++ b/OpenSim/Framework/RegionLoader/Web/RegionLoaderWebServer.cs
@@ -98,7 +98,7 @@ namespace OpenSim.Framework.RegionLoader.Web
98 xmlSource.Length); 98 xmlSource.Length);
99 XmlDocument xmlDoc = new XmlDocument(); 99 XmlDocument xmlDoc = new XmlDocument();
100 xmlDoc.LoadXml(xmlSource); 100 xmlDoc.LoadXml(xmlSource);
101 if (xmlDoc.FirstChild.Name == "Regions") 101 if (xmlDoc.FirstChild.Name == "Nini")
102 { 102 {
103 regionCount = xmlDoc.FirstChild.ChildNodes.Count; 103 regionCount = xmlDoc.FirstChild.ChildNodes.Count;
104 104
@@ -144,4 +144,4 @@ namespace OpenSim.Framework.RegionLoader.Web
144 } 144 }
145 } 145 }
146 } 146 }
147} \ No newline at end of file 147}