stale LandSnapshot by time also, so dwell can be updated

httptests
UbitUmarov 2018-05-26 04:58:44 +01:00
parent 7c50651cd1
commit 57fb1ea9df
1 changed files with 7 additions and 1 deletions

View File

@ -82,8 +82,14 @@ namespace OpenSim.Region.DataSnapshot
}
}
public void ForceSceneStale(Scene scene) {
public void ForceSceneStale(Scene scene)
{
m_scenes[scene] = true;
foreach(IDataSnapshotProvider pv in m_providers)
{
if(pv.GetParentScene == scene && pv.Name == "LandSnapshot")
pv.Stale = true;
}
}
#region Fragment storage