revert that and actually don't loose the estates :)
parent
b1ef269dd3
commit
908b5e8526
|
@ -119,8 +119,8 @@ namespace OpenSim.Services.Connectors
|
||||||
List<int> eids = new List<int>();
|
List<int> eids = new List<int>();
|
||||||
// If we don't have them, load them from the server
|
// If we don't have them, load them from the server
|
||||||
List<EstateSettings> estates = null;
|
List<EstateSettings> estates = null;
|
||||||
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
|
if (!m_EstateCache.TryGetValue("estates", out estates))
|
||||||
LoadEstateSettingsAll();
|
estates = LoadEstateSettingsAll();
|
||||||
|
|
||||||
foreach (EstateSettings es in estates)
|
foreach (EstateSettings es in estates)
|
||||||
eids.Add((int)es.EstateID);
|
eids.Add((int)es.EstateID);
|
||||||
|
@ -132,8 +132,8 @@ namespace OpenSim.Services.Connectors
|
||||||
{
|
{
|
||||||
// If we don't have them, load them from the server
|
// If we don't have them, load them from the server
|
||||||
List<EstateSettings> estates = null;
|
List<EstateSettings> estates = null;
|
||||||
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
|
if (!m_EstateCache.TryGetValue("estates", out estates))
|
||||||
LoadEstateSettingsAll();
|
estates = LoadEstateSettingsAll();
|
||||||
|
|
||||||
List<int> eids = new List<int>();
|
List<int> eids = new List<int>();
|
||||||
foreach (EstateSettings es in estates)
|
foreach (EstateSettings es in estates)
|
||||||
|
@ -147,8 +147,8 @@ namespace OpenSim.Services.Connectors
|
||||||
{
|
{
|
||||||
// If we don't have them, load them from the server
|
// If we don't have them, load them from the server
|
||||||
List<EstateSettings> estates = null;
|
List<EstateSettings> estates = null;
|
||||||
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
|
if (!m_EstateCache.TryGetValue("estates", out estates))
|
||||||
LoadEstateSettingsAll();
|
estates = LoadEstateSettingsAll();
|
||||||
|
|
||||||
List<int> eids = new List<int>();
|
List<int> eids = new List<int>();
|
||||||
foreach (EstateSettings es in estates)
|
foreach (EstateSettings es in estates)
|
||||||
|
|
Loading…
Reference in New Issue