change region cacheid on restart. This should not be needed in future if objects cache info is stored on region db
parent
42414bfa55
commit
07796d5ccf
|
@ -180,6 +180,7 @@ namespace OpenSim.Framework
|
|||
|
||||
private Dictionary<String, String> m_extraSettings = new Dictionary<string, string>();
|
||||
|
||||
public UUID CacheID { get; set;}
|
||||
// Apparently, we're applying the same estatesettings regardless of whether it's local or remote.
|
||||
|
||||
// MT: Yes. Estates can't span trust boundaries. Therefore, it can be
|
||||
|
@ -196,6 +197,7 @@ namespace OpenSim.Framework
|
|||
public RegionInfo(string description, string filename, bool skipConsoleConfig, IConfigSource configSource, string configName)
|
||||
{
|
||||
// m_configSource = configSource;
|
||||
CacheID = UUID.Random();
|
||||
|
||||
if (filename.ToLower().EndsWith(".ini"))
|
||||
{
|
||||
|
@ -255,6 +257,7 @@ namespace OpenSim.Framework
|
|||
ReadNiniConfig(source, name);
|
||||
|
||||
m_serverURI = string.Empty;
|
||||
CacheID = UUID.Random();
|
||||
}
|
||||
|
||||
public RegionInfo(uint legacyRegionLocX, uint legacyRegionLocY, IPEndPoint internalEndPoint, string externalUri)
|
||||
|
@ -266,11 +269,13 @@ namespace OpenSim.Framework
|
|||
m_internalEndPoint = internalEndPoint;
|
||||
m_externalHostName = externalUri;
|
||||
m_serverURI = string.Empty;
|
||||
CacheID = UUID.Random();
|
||||
}
|
||||
|
||||
public RegionInfo()
|
||||
{
|
||||
m_serverURI = string.Empty;
|
||||
CacheID = UUID.Random();
|
||||
}
|
||||
|
||||
public EstateSettings EstateSettings
|
||||
|
|
|
@ -929,7 +929,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
//BillableFactor
|
||||
zc.AddFloat(es.BillableFactor);
|
||||
//CacheID
|
||||
zc.AddUUID(regionInfo.RegionID); // needs review when we actuall support cache
|
||||
zc.AddUUID(regionInfo.CacheID); // needs review when we actuall support cache
|
||||
//TerrainBase0
|
||||
//TerrainBase1
|
||||
//TerrainBase2
|
||||
|
|
Loading…
Reference in New Issue