diff options
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 75ed999..98ef5d5 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -180,6 +180,7 @@ namespace OpenSim.Framework | |||
180 | 180 | ||
181 | private Dictionary<String, String> m_extraSettings = new Dictionary<string, string>(); | 181 | private Dictionary<String, String> m_extraSettings = new Dictionary<string, string>(); |
182 | 182 | ||
183 | public UUID CacheID { get; set;} | ||
183 | // Apparently, we're applying the same estatesettings regardless of whether it's local or remote. | 184 | // Apparently, we're applying the same estatesettings regardless of whether it's local or remote. |
184 | 185 | ||
185 | // MT: Yes. Estates can't span trust boundaries. Therefore, it can be | 186 | // MT: Yes. Estates can't span trust boundaries. Therefore, it can be |
@@ -196,6 +197,7 @@ namespace OpenSim.Framework | |||
196 | public RegionInfo(string description, string filename, bool skipConsoleConfig, IConfigSource configSource, string configName) | 197 | public RegionInfo(string description, string filename, bool skipConsoleConfig, IConfigSource configSource, string configName) |
197 | { | 198 | { |
198 | // m_configSource = configSource; | 199 | // m_configSource = configSource; |
200 | CacheID = UUID.Random(); | ||
199 | 201 | ||
200 | if (filename.ToLower().EndsWith(".ini")) | 202 | if (filename.ToLower().EndsWith(".ini")) |
201 | { | 203 | { |
@@ -255,6 +257,7 @@ namespace OpenSim.Framework | |||
255 | ReadNiniConfig(source, name); | 257 | ReadNiniConfig(source, name); |
256 | 258 | ||
257 | m_serverURI = string.Empty; | 259 | m_serverURI = string.Empty; |
260 | CacheID = UUID.Random(); | ||
258 | } | 261 | } |
259 | 262 | ||
260 | public RegionInfo(uint legacyRegionLocX, uint legacyRegionLocY, IPEndPoint internalEndPoint, string externalUri) | 263 | public RegionInfo(uint legacyRegionLocX, uint legacyRegionLocY, IPEndPoint internalEndPoint, string externalUri) |
@@ -266,11 +269,13 @@ namespace OpenSim.Framework | |||
266 | m_internalEndPoint = internalEndPoint; | 269 | m_internalEndPoint = internalEndPoint; |
267 | m_externalHostName = externalUri; | 270 | m_externalHostName = externalUri; |
268 | m_serverURI = string.Empty; | 271 | m_serverURI = string.Empty; |
272 | CacheID = UUID.Random(); | ||
269 | } | 273 | } |
270 | 274 | ||
271 | public RegionInfo() | 275 | public RegionInfo() |
272 | { | 276 | { |
273 | m_serverURI = string.Empty; | 277 | m_serverURI = string.Empty; |
278 | CacheID = UUID.Random(); | ||
274 | } | 279 | } |
275 | 280 | ||
276 | public EstateSettings EstateSettings | 281 | public EstateSettings EstateSettings |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5ffea62..8d5980a 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -929,7 +929,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
929 | //BillableFactor | 929 | //BillableFactor |
930 | zc.AddFloat(es.BillableFactor); | 930 | zc.AddFloat(es.BillableFactor); |
931 | //CacheID | 931 | //CacheID |
932 | zc.AddUUID(regionInfo.RegionID); // needs review when we actuall support cache | 932 | zc.AddUUID(regionInfo.CacheID); // needs review when we actuall support cache |
933 | //TerrainBase0 | 933 | //TerrainBase0 |
934 | //TerrainBase1 | 934 | //TerrainBase1 |
935 | //TerrainBase2 | 935 | //TerrainBase2 |