aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJak Daniels2014-03-17 20:39:36 +0000
committerRobert Adams2014-03-18 22:18:50 -0700
commit61353dde80a3912e26959c612a1d8d46ec1bc826 (patch)
tree3a78615a34b53a5e0201b4e570006f09a6745cc1 /OpenSim/Region/Framework/Scenes/Scene.cs
parentRevert "Simplify DoubleQueue to eliminate redundant sempahore work." (diff)
downloadopensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.zip
opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.gz
opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.bz2
opensim-SC_OLD-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.xz
Allow Region specific static maptiles to be loaded from file.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index fa90ef4..d16b73b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -903,7 +903,8 @@ namespace OpenSim.Region.Framework.Scenes
903 903
904 if (m_generateMaptiles) 904 if (m_generateMaptiles)
905 { 905 {
906 int maptileRefresh = startupConfig.GetInt("MaptileRefresh", 0); 906 int maptileRefresh = Util.GetConfigVarFromSections<int>(config, "MaptileRefresh", possibleMapConfigSections, 0);
907 m_log.InfoFormat("[SCENE]: Region {0}, WORLD MAP refresh time set to {1} seconds", RegionInfo.RegionName, maptileRefresh);
907 if (maptileRefresh != 0) 908 if (maptileRefresh != 0)
908 { 909 {
909 m_mapGenerationTimer.Interval = maptileRefresh * 1000; 910 m_mapGenerationTimer.Interval = maptileRefresh * 1000;