diff options
author | Melanie | 2013-02-26 13:34:20 +0000 |
---|---|---|
committer | Melanie | 2013-02-26 13:34:20 +0000 |
commit | 54ee95dd8e6649723d92ac893e1699d34822cd80 (patch) | |
tree | d1d15e17c0a04bef247bfe8e6e0cffd3f8460ff1 /OpenSim/Region/Framework | |
parent | Make sure state machine is reset if crossing is aborted (diff) | |
parent | BulletSim: tweeks to make avatar jump work better. (diff) | |
download | opensim-SC_OLD-54ee95dd8e6649723d92ac893e1699d34822cd80.zip opensim-SC_OLD-54ee95dd8e6649723d92ac893e1699d34822cd80.tar.gz opensim-SC_OLD-54ee95dd8e6649723d92ac893e1699d34822cd80.tar.bz2 opensim-SC_OLD-54ee95dd8e6649723d92ac893e1699d34822cd80.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1a1c3d2..a229a9a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -921,7 +921,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
921 | m_seeIntoBannedRegion = startupConfig.GetBoolean("SeeIntoBannedRegion", m_seeIntoBannedRegion); | 921 | m_seeIntoBannedRegion = startupConfig.GetBoolean("SeeIntoBannedRegion", m_seeIntoBannedRegion); |
922 | CombineRegions = startupConfig.GetBoolean("CombineContiguousRegions", false); | 922 | CombineRegions = startupConfig.GetBoolean("CombineContiguousRegions", false); |
923 | 923 | ||
924 | m_generateMaptiles = startupConfig.GetBoolean("GenerateMaptiles", true); | 924 | string[] possibleMapConfigSections = new string[] { "Map", "Startup" }; |
925 | |||
926 | m_generateMaptiles | ||
927 | = Util.GetConfigVarFromSections<bool>(config, "GenerateMaptiles", possibleMapConfigSections, true); | ||
928 | |||
925 | if (m_generateMaptiles) | 929 | if (m_generateMaptiles) |
926 | { | 930 | { |
927 | int maptileRefresh = startupConfig.GetInt("MaptileRefresh", 0); | 931 | int maptileRefresh = startupConfig.GetInt("MaptileRefresh", 0); |
@@ -935,7 +939,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
935 | } | 939 | } |
936 | else | 940 | else |
937 | { | 941 | { |
938 | string tile = startupConfig.GetString("MaptileStaticUUID", UUID.Zero.ToString()); | 942 | string tile |
943 | = Util.GetConfigVarFromSections<string>( | ||
944 | config, "MaptileStaticUUID", possibleMapConfigSections, UUID.Zero.ToString()); | ||
945 | |||
939 | UUID tileID; | 946 | UUID tileID; |
940 | 947 | ||
941 | if (tile != UUID.Zero.ToString() && UUID.TryParse(tile, out tileID)) | 948 | if (tile != UUID.Zero.ToString() && UUID.TryParse(tile, out tileID)) |