diff options
author | Jak Daniels | 2014-03-17 20:39:36 +0000 |
---|---|---|
committer | Robert Adams | 2014-03-18 22:18:50 -0700 |
commit | 61353dde80a3912e26959c612a1d8d46ec1bc826 (patch) | |
tree | 3a78615a34b53a5e0201b4e570006f09a6745cc1 /OpenSim/Region/Framework | |
parent | Revert "Simplify DoubleQueue to eliminate redundant sempahore work." (diff) | |
download | opensim-SC-61353dde80a3912e26959c612a1d8d46ec1bc826.zip opensim-SC-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.gz opensim-SC-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.bz2 opensim-SC-61353dde80a3912e26959c612a1d8d46ec1bc826.tar.xz |
Allow Region specific static maptiles to be loaded from file.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
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; |