diff options
author | Dan Lake | 2013-01-31 11:15:22 -0800 |
---|---|---|
committer | Dan Lake | 2013-01-31 11:15:22 -0800 |
commit | b659ccfc806b4f46446b0db1018c729edd1960a4 (patch) | |
tree | d828367e2209c6316f9a526bdcd45bcb16cd4db4 /OpenSim/Region/Framework/Scenes | |
parent | Added option for UUID as command parameters. This lets the command handle the... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-b659ccfc806b4f46446b0db1018c729edd1960a4.zip opensim-SC-b659ccfc806b4f46446b0db1018c729edd1960a4.tar.gz opensim-SC-b659ccfc806b4f46446b0db1018c729edd1960a4.tar.bz2 opensim-SC-b659ccfc806b4f46446b0db1018c729edd1960a4.tar.xz |
Merge branch 'master' of git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f2cb117..9e3d60f 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -917,10 +917,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
917 | string tile = startupConfig.GetString("MaptileStaticUUID", UUID.Zero.ToString()); | 917 | string tile = startupConfig.GetString("MaptileStaticUUID", UUID.Zero.ToString()); |
918 | UUID tileID; | 918 | UUID tileID; |
919 | 919 | ||
920 | if (UUID.TryParse(tile, out tileID)) | 920 | if ((tile!=UUID.Zero.ToString()) && UUID.TryParse(tile, out tileID)) |
921 | { | 921 | { |
922 | RegionInfo.RegionSettings.TerrainImageID = tileID; | 922 | RegionInfo.RegionSettings.TerrainImageID = tileID; |
923 | } | 923 | } |
924 | else | ||
925 | { | ||
926 | RegionInfo.RegionSettings.TerrainImageID = RegionInfo.MaptileStaticUUID; | ||
927 | m_log.InfoFormat("[SCENE]: Region {0}, maptile set to {1}", RegionInfo.RegionName, RegionInfo.MaptileStaticUUID.ToString()); | ||
928 | } | ||
924 | } | 929 | } |
925 | 930 | ||
926 | string grant = startupConfig.GetString("AllowedClients", String.Empty); | 931 | string grant = startupConfig.GetString("AllowedClients", String.Empty); |