aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMelanie2013-01-26 20:39:17 +0100
committerMelanie2013-01-26 20:39:17 +0100
commitf1fbb774b6f08acde0c88618911dd4dc311217ad (patch)
treecd80a240a30cccdba4b912f797dac68aeb0c4354 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentStop temp-on-rez object from being deleted while an avatar sits on them (diff)
downloadopensim-SC-f1fbb774b6f08acde0c88618911dd4dc311217ad.zip
opensim-SC-f1fbb774b6f08acde0c88618911dd4dc311217ad.tar.gz
opensim-SC-f1fbb774b6f08acde0c88618911dd4dc311217ad.tar.bz2
opensim-SC-f1fbb774b6f08acde0c88618911dd4dc311217ad.tar.xz
Reinstate cleaning objects from parcel when avatars sit on them. Instead do it
properly for temp-on-rez. Auto-return overrides sitting. Temp does not.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 41f04e2..ed1bbd8 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2023,7 +2023,7 @@ namespace OpenSim.Region.Framework.Scenes
2023 (parcel.LandData.GroupID != GroupID || 2023 (parcel.LandData.GroupID != GroupID ||
2024 parcel.LandData.GroupID == UUID.Zero)) 2024 parcel.LandData.GroupID == UUID.Zero))
2025 { 2025 {
2026 if (GetSittingAvatarsCount() == 0 && (DateTime.UtcNow - RootPart.Rezzed).TotalMinutes > 2026 if ((DateTime.UtcNow - RootPart.Rezzed).TotalMinutes >
2027 parcel.LandData.OtherCleanTime) 2027 parcel.LandData.OtherCleanTime)
2028 { 2028 {
2029 DetachFromBackup(); 2029 DetachFromBackup();