aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorUbitUmarov2018-05-26 04:58:44 +0100
committerUbitUmarov2018-05-26 04:58:44 +0100
commit57fb1ea9df172bb28492b9eae52b725e06d932be (patch)
tree3c9fe5aecc83ec599328d202dae05567cb442d01 /OpenSim/Region/OptionalModules
parentadd a check to data_exposure option of DataSnapshot module (diff)
downloadopensim-SC-57fb1ea9df172bb28492b9eae52b725e06d932be.zip
opensim-SC-57fb1ea9df172bb28492b9eae52b725e06d932be.tar.gz
opensim-SC-57fb1ea9df172bb28492b9eae52b725e06d932be.tar.bz2
opensim-SC-57fb1ea9df172bb28492b9eae52b725e06d932be.tar.xz
stale LandSnapshot by time also, so dwell can be updated
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/DataSnapshot/SnapshotStore.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/OptionalModules/DataSnapshot/SnapshotStore.cs
index 0ed421a..c55e4eb 100644
--- a/OpenSim/Region/OptionalModules/DataSnapshot/SnapshotStore.cs
+++ b/OpenSim/Region/OptionalModules/DataSnapshot/SnapshotStore.cs
@@ -82,8 +82,14 @@ namespace OpenSim.Region.DataSnapshot
82 } 82 }
83 } 83 }
84 84
85 public void ForceSceneStale(Scene scene) { 85 public void ForceSceneStale(Scene scene)
86 {
86 m_scenes[scene] = true; 87 m_scenes[scene] = true;
88 foreach(IDataSnapshotProvider pv in m_providers)
89 {
90 if(pv.GetParentScene == scene && pv.Name == "LandSnapshot")
91 pv.Stale = true;
92 }
87 } 93 }
88 94
89 #region Fragment storage 95 #region Fragment storage