Deleted all [XmlIgnore] from SOP, since those are meaningless now.
parent
22eff055d4
commit
7038f2b406
|
@ -119,7 +119,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <value>
|
/// <value>
|
||||||
/// Is this sop a root part?
|
/// Is this sop a root part?
|
||||||
/// </value>
|
/// </value>
|
||||||
[XmlIgnore]
|
|
||||||
public bool IsRoot
|
public bool IsRoot
|
||||||
{
|
{
|
||||||
get { return ParentGroup.RootPart == this; }
|
get { return ParentGroup.RootPart == this; }
|
||||||
|
@ -129,26 +129,26 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public bool AllowedDrop;
|
public bool AllowedDrop;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool DIE_AT_EDGE;
|
public bool DIE_AT_EDGE;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool RETURN_AT_EDGE;
|
public bool RETURN_AT_EDGE;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool BlockGrab;
|
public bool BlockGrab;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool StatusSandbox;
|
public bool StatusSandbox;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Vector3 StatusSandboxPos;
|
public Vector3 StatusSandboxPos;
|
||||||
|
|
||||||
// TODO: This needs to be persisted in next XML version update!
|
// TODO: This needs to be persisted in next XML version update!
|
||||||
[XmlIgnore]
|
|
||||||
public readonly int[] PayPrice = {-2,-2,-2,-2,-2};
|
public readonly int[] PayPrice = {-2,-2,-2,-2,-2};
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public PhysicsActor PhysActor
|
public PhysicsActor PhysActor
|
||||||
{
|
{
|
||||||
get { return m_physActor; }
|
get { return m_physActor; }
|
||||||
|
@ -163,43 +163,43 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// Note: This isn't persisted in the database right now, as the fields for that aren't just there yet.
|
// Note: This isn't persisted in the database right now, as the fields for that aren't just there yet.
|
||||||
// Not a big problem as long as the script that sets it remains in the prim on startup.
|
// Not a big problem as long as the script that sets it remains in the prim on startup.
|
||||||
// for SL compatibility it should be persisted though (set sound / displaytext / particlesystem, kill script)
|
// for SL compatibility it should be persisted though (set sound / displaytext / particlesystem, kill script)
|
||||||
[XmlIgnore]
|
|
||||||
public UUID Sound;
|
public UUID Sound;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public byte SoundFlags;
|
public byte SoundFlags;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public double SoundGain;
|
public double SoundGain;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public double SoundRadius;
|
public double SoundRadius;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public uint TimeStampFull;
|
public uint TimeStampFull;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public uint TimeStampLastActivity; // Will be used for AutoReturn
|
public uint TimeStampLastActivity; // Will be used for AutoReturn
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public uint TimeStampTerse;
|
public uint TimeStampTerse;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public UUID FromItemID;
|
public UUID FromItemID;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public UUID FromFolderID;
|
public UUID FromFolderID;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public int STATUS_ROTATE_X;
|
public int STATUS_ROTATE_X;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public int STATUS_ROTATE_Y;
|
public int STATUS_ROTATE_Y;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public int STATUS_ROTATE_Z;
|
public int STATUS_ROTATE_Z;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
private Dictionary<int, string> m_CollisionFilter = new Dictionary<int, string>();
|
private Dictionary<int, string> m_CollisionFilter = new Dictionary<int, string>();
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
|
@ -208,68 +208,68 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// </value>
|
/// </value>
|
||||||
private UUID m_fromUserInventoryItemID;
|
private UUID m_fromUserInventoryItemID;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public UUID FromUserInventoryItemID
|
public UUID FromUserInventoryItemID
|
||||||
{
|
{
|
||||||
get { return m_fromUserInventoryItemID; }
|
get { return m_fromUserInventoryItemID; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool IsAttachment;
|
public bool IsAttachment;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public scriptEvents AggregateScriptEvents;
|
public scriptEvents AggregateScriptEvents;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public UUID AttachedAvatar;
|
public UUID AttachedAvatar;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Vector3 AttachedPos;
|
public Vector3 AttachedPos;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public uint AttachmentPoint;
|
public uint AttachmentPoint;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Vector3 RotationAxis = Vector3.One;
|
public Vector3 RotationAxis = Vector3.One;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool VolumeDetectActive; // XmlIgnore set to avoid problems with persistance until I come to care for this
|
public bool VolumeDetectActive; // XmlIgnore set to avoid problems with persistance until I come to care for this
|
||||||
// Certainly this must be a persistant setting finally
|
// Certainly this must be a persistant setting finally
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool IsWaitingForFirstSpinUpdatePacket;
|
public bool IsWaitingForFirstSpinUpdatePacket;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Quaternion SpinOldOrientation = Quaternion.Identity;
|
public Quaternion SpinOldOrientation = Quaternion.Identity;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Quaternion m_APIDTarget = Quaternion.Identity;
|
public Quaternion m_APIDTarget = Quaternion.Identity;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public float m_APIDDamp = 0;
|
public float m_APIDDamp = 0;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public float m_APIDStrength = 0;
|
public float m_APIDStrength = 0;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This part's inventory
|
/// This part's inventory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[XmlIgnore]
|
|
||||||
public IEntityInventory Inventory
|
public IEntityInventory Inventory
|
||||||
{
|
{
|
||||||
get { return m_inventory; }
|
get { return m_inventory; }
|
||||||
}
|
}
|
||||||
protected SceneObjectPartInventory m_inventory;
|
protected SceneObjectPartInventory m_inventory;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool Undoing;
|
public bool Undoing;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool IgnoreUndoUpdate = false;
|
public bool IgnoreUndoUpdate = false;
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
private PrimFlags LocalFlags;
|
private PrimFlags LocalFlags;
|
||||||
[XmlIgnore]
|
|
||||||
private float m_damage = -1.0f;
|
private float m_damage = -1.0f;
|
||||||
private byte[] m_TextureAnimation;
|
private byte[] m_TextureAnimation;
|
||||||
private byte m_clickAction;
|
private byte m_clickAction;
|
||||||
|
@ -277,9 +277,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
private string m_description = String.Empty;
|
private string m_description = String.Empty;
|
||||||
private readonly List<uint> m_lastColliders = new List<uint>();
|
private readonly List<uint> m_lastColliders = new List<uint>();
|
||||||
private int m_linkNum;
|
private int m_linkNum;
|
||||||
[XmlIgnore]
|
|
||||||
private int m_scriptAccessPin;
|
private int m_scriptAccessPin;
|
||||||
[XmlIgnore]
|
|
||||||
private readonly Dictionary<UUID, scriptEvents> m_scriptEvents = new Dictionary<UUID, scriptEvents>();
|
private readonly Dictionary<UUID, scriptEvents> m_scriptEvents = new Dictionary<UUID, scriptEvents>();
|
||||||
private string m_sitName = String.Empty;
|
private string m_sitName = String.Empty;
|
||||||
private Quaternion m_sitTargetOrientation = Quaternion.Identity;
|
private Quaternion m_sitTargetOrientation = Quaternion.Identity;
|
||||||
|
@ -545,7 +545,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Dictionary<int, string> CollisionFilter
|
public Dictionary<int, string> CollisionFilter
|
||||||
{
|
{
|
||||||
get { return m_CollisionFilter; }
|
get { return m_CollisionFilter; }
|
||||||
|
@ -555,21 +555,21 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Quaternion APIDTarget
|
public Quaternion APIDTarget
|
||||||
{
|
{
|
||||||
get { return m_APIDTarget; }
|
get { return m_APIDTarget; }
|
||||||
set { m_APIDTarget = value; }
|
set { m_APIDTarget = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public float APIDDamp
|
public float APIDDamp
|
||||||
{
|
{
|
||||||
get { return m_APIDDamp; }
|
get { return m_APIDDamp; }
|
||||||
set { m_APIDDamp = value; }
|
set { m_APIDDamp = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public float APIDStrength
|
public float APIDStrength
|
||||||
{
|
{
|
||||||
get { return m_APIDStrength; }
|
get { return m_APIDStrength; }
|
||||||
|
@ -615,35 +615,35 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
set { m_LoopSoundSlavePrims = value; }
|
set { m_LoopSoundSlavePrims = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Byte[] TextureAnimation
|
public Byte[] TextureAnimation
|
||||||
{
|
{
|
||||||
get { return m_TextureAnimation; }
|
get { return m_TextureAnimation; }
|
||||||
set { m_TextureAnimation = value; }
|
set { m_TextureAnimation = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public Byte[] ParticleSystem
|
public Byte[] ParticleSystem
|
||||||
{
|
{
|
||||||
get { return m_particleSystem; }
|
get { return m_particleSystem; }
|
||||||
set { m_particleSystem = value; }
|
set { m_particleSystem = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public DateTime Expires
|
public DateTime Expires
|
||||||
{
|
{
|
||||||
get { return m_expires; }
|
get { return m_expires; }
|
||||||
set { m_expires = value; }
|
set { m_expires = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public DateTime Rezzed
|
public DateTime Rezzed
|
||||||
{
|
{
|
||||||
get { return m_rezzed; }
|
get { return m_rezzed; }
|
||||||
set { m_rezzed = value; }
|
set { m_rezzed = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public float Damage
|
public float Damage
|
||||||
{
|
{
|
||||||
get { return m_damage; }
|
get { return m_damage; }
|
||||||
|
@ -1016,7 +1016,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public bool CreateSelected
|
public bool CreateSelected
|
||||||
{
|
{
|
||||||
get { return m_createSelected; }
|
get { return m_createSelected; }
|
||||||
|
@ -1198,14 +1198,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public UUID SitTargetAvatar
|
public UUID SitTargetAvatar
|
||||||
{
|
{
|
||||||
get { return m_sitTargetAvatar; }
|
get { return m_sitTargetAvatar; }
|
||||||
set { m_sitTargetAvatar = value; }
|
set { m_sitTargetAvatar = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public virtual UUID RegionID
|
public virtual UUID RegionID
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -1219,7 +1219,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
private UUID _parentUUID = UUID.Zero;
|
private UUID _parentUUID = UUID.Zero;
|
||||||
[XmlIgnore]
|
|
||||||
public UUID ParentUUID
|
public UUID ParentUUID
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -1233,7 +1233,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
set { _parentUUID = value; }
|
set { _parentUUID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[XmlIgnore]
|
|
||||||
public string SitAnimation
|
public string SitAnimation
|
||||||
{
|
{
|
||||||
get { return m_sitAnimation; }
|
get { return m_sitAnimation; }
|
||||||
|
|
|
@ -149,7 +149,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
|
|
||||||
writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty);
|
writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty);
|
||||||
writer.WriteStartElement(String.Empty, "RootPart", String.Empty);
|
writer.WriteStartElement(String.Empty, "RootPart", String.Empty);
|
||||||
ToOriginalXmlFormat(sceneObject.RootPart, writer);
|
ToXmlFormat(sceneObject.RootPart, writer);
|
||||||
writer.WriteEndElement();
|
writer.WriteEndElement();
|
||||||
writer.WriteStartElement(String.Empty, "OtherParts", String.Empty);
|
writer.WriteStartElement(String.Empty, "OtherParts", String.Empty);
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
if (part.UUID != sceneObject.RootPart.UUID)
|
if (part.UUID != sceneObject.RootPart.UUID)
|
||||||
{
|
{
|
||||||
writer.WriteStartElement(String.Empty, "Part", String.Empty);
|
writer.WriteStartElement(String.Empty, "Part", String.Empty);
|
||||||
ToOriginalXmlFormat(part, writer);
|
ToXmlFormat(part, writer);
|
||||||
writer.WriteEndElement();
|
writer.WriteEndElement();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
//m_log.DebugFormat("[SERIALIZER]: Finished serialization of SOG {0}, {1}ms", Name, System.Environment.TickCount - time);
|
//m_log.DebugFormat("[SERIALIZER]: Finished serialization of SOG {0}, {1}ms", Name, System.Environment.TickCount - time);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static void ToOriginalXmlFormat(SceneObjectPart part, XmlTextWriter writer)
|
protected static void ToXmlFormat(SceneObjectPart part, XmlTextWriter writer)
|
||||||
{
|
{
|
||||||
SOPToXml2(writer, part, new Dictionary<string, object>());
|
SOPToXml2(writer, part, new Dictionary<string, object>());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue