From 1edfbc652a130a6c318182b16680c58bd4902736 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 10 Oct 2008 15:02:40 +0000 Subject: very tiny change XmlIgnored the SceneObjectPart.SitTargetAvatar property, as (afaik) this is only used to indicate that a avatar is sitting (or about to sit) on the prim. And there are situations where it might not be cleared, like if a client crashes while sitting on the prim. Which results in that avatar's id getting stored in any xml backup or taking the prim into inventory. And then its always classed as a avatar is sitting on that prim. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 7e7b2aa..f5cc680 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -783,9 +783,7 @@ if (m_shape != null) { #endregion //--------------- - - - #region Public Properties with only Get +#region Public Properties with only Get public Vector3 AbsolutePosition @@ -957,6 +955,7 @@ if (m_shape != null) { set { _flags = value; } } + [XmlIgnore] public UUID SitTargetAvatar { get { return m_sitTargetAvatar; } @@ -993,6 +992,8 @@ if (m_shape != null) { #endregion Public Properties with only Get + + #region Private Methods private uint ApplyMask(uint val, bool set, uint mask) -- cgit v1.1