aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/RegionInfo.cs16
1 files changed, 6 insertions, 10 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index f71ee86..2390118 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -143,7 +143,6 @@ namespace OpenSim.Framework
143 public string RemotingAddress; 143 public string RemotingAddress;
144 public UUID ScopeID = UUID.Zero; 144 public UUID ScopeID = UUID.Zero;
145 private UUID m_maptileStaticUUID = UUID.Zero; 145 private UUID m_maptileStaticUUID = UUID.Zero;
146 public string m_maptileStaticFile;
147 146
148 public uint WorldLocX = 0; 147 public uint WorldLocX = 0;
149 public uint WorldLocY = 0; 148 public uint WorldLocY = 0;
@@ -351,10 +350,7 @@ namespace OpenSim.Framework
351 get { return m_maptileStaticUUID; } 350 get { return m_maptileStaticUUID; }
352 } 351 }
353 352
354 public string MaptileStaticFile 353 public string MaptileStaticFile { get; private set; }
355 {
356 get { return m_maptileStaticFile; }
357 }
358 354
359 /// <summary> 355 /// <summary>
360 /// The port by which http communication occurs with the region (most noticeably, CAPS communication) 356 /// The port by which http communication occurs with the region (most noticeably, CAPS communication)
@@ -723,7 +719,7 @@ namespace OpenSim.Framework
723 config.Set("MaptileStaticUUID", m_maptileStaticUUID.ToString()); 719 config.Set("MaptileStaticUUID", m_maptileStaticUUID.ToString());
724 } 720 }
725 721
726 m_maptileStaticFile = config.GetString("MaptileStaticFile", String.Empty); 722 MaptileStaticFile = config.GetString("MaptileStaticFile", String.Empty);
727 allKeys.Remove("MaptileStaticFile"); 723 allKeys.Remove("MaptileStaticFile");
728 724
729 #endregion 725 #endregion
@@ -853,8 +849,8 @@ namespace OpenSim.Framework
853 if (m_maptileStaticUUID != UUID.Zero) 849 if (m_maptileStaticUUID != UUID.Zero)
854 config.Set("MaptileStaticUUID", m_maptileStaticUUID.ToString()); 850 config.Set("MaptileStaticUUID", m_maptileStaticUUID.ToString());
855 851
856 if (m_maptileStaticFile != String.Empty) 852 if (MaptileStaticFile != String.Empty)
857 config.Set("MaptileStaticFile", m_maptileStaticFile); 853 config.Set("MaptileStaticFile", MaptileStaticFile);
858 } 854 }
859 855
860 public bool ignoreIncomingConfiguration(string configuration_key, object configuration_result) 856 public bool ignoreIncomingConfiguration(string configuration_key, object configuration_result)
@@ -966,7 +962,7 @@ namespace OpenSim.Framework
966 "UUID of a texture to use as the map for this region", m_maptileStaticUUID.ToString(), true); 962 "UUID of a texture to use as the map for this region", m_maptileStaticUUID.ToString(), true);
967 963
968 configMember.addConfigurationOption("region_static_mapfile", ConfigurationOption.ConfigurationTypes.TYPE_STRING, 964 configMember.addConfigurationOption("region_static_mapfile", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
969 "Filename of a texture to use as the map for this region", m_maptileStaticFile, true); 965 "Filename of a texture to use as the map for this region", MaptileStaticFile, true);
970 } 966 }
971 967
972 public void loadConfigurationOptions() 968 public void loadConfigurationOptions()
@@ -1116,7 +1112,7 @@ namespace OpenSim.Framework
1116 m_maptileStaticUUID = (UUID)configuration_result; 1112 m_maptileStaticUUID = (UUID)configuration_result;
1117 break; 1113 break;
1118 case "region_static_mapfile": 1114 case "region_static_mapfile":
1119 m_maptileStaticFile = (string)configuration_result; 1115 MaptileStaticFile = (string)configuration_result;
1120 break; 1116 break;
1121 } 1117 }
1122 1118