diff options
author | Melanie | 2011-11-02 23:51:48 +0000 |
---|---|---|
committer | Melanie | 2011-11-02 23:51:48 +0000 |
commit | e746840226ca56a87d597c899f7c0bd8cf2980b2 (patch) | |
tree | 3eb405e222426a8d51dd9274275673ef34780a48 /OpenSim/Region/Framework/Scenes/Serialization | |
parent | Port the Avination offline messaging system to Core (diff) | |
parent | Merge branch 'master' of git://opensimulator.org/git/opensim (diff) | |
download | opensim-SC_OLD-e746840226ca56a87d597c899f7c0bd8cf2980b2.zip opensim-SC_OLD-e746840226ca56a87d597c899f7c0bd8cf2980b2.tar.gz opensim-SC_OLD-e746840226ca56a87d597c899f7c0bd8cf2980b2.tar.bz2 opensim-SC_OLD-e746840226ca56a87d597c899f7c0bd8cf2980b2.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index e06a222..60cc788 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -316,7 +316,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
316 | m_SOPXmlProcessors.Add("ClickAction", ProcessClickAction); | 316 | m_SOPXmlProcessors.Add("ClickAction", ProcessClickAction); |
317 | m_SOPXmlProcessors.Add("Shape", ProcessShape); | 317 | m_SOPXmlProcessors.Add("Shape", ProcessShape); |
318 | m_SOPXmlProcessors.Add("Scale", ProcessScale); | 318 | m_SOPXmlProcessors.Add("Scale", ProcessScale); |
319 | m_SOPXmlProcessors.Add("UpdateFlag", ProcessUpdateFlag); | ||
320 | m_SOPXmlProcessors.Add("SitTargetOrientation", ProcessSitTargetOrientation); | 319 | m_SOPXmlProcessors.Add("SitTargetOrientation", ProcessSitTargetOrientation); |
321 | m_SOPXmlProcessors.Add("SitTargetPosition", ProcessSitTargetPosition); | 320 | m_SOPXmlProcessors.Add("SitTargetPosition", ProcessSitTargetPosition); |
322 | m_SOPXmlProcessors.Add("SitTargetPositionLL", ProcessSitTargetPositionLL); | 321 | m_SOPXmlProcessors.Add("SitTargetPositionLL", ProcessSitTargetPositionLL); |
@@ -584,11 +583,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
584 | obj.Scale = Util.ReadVector(reader, "Scale"); | 583 | obj.Scale = Util.ReadVector(reader, "Scale"); |
585 | } | 584 | } |
586 | 585 | ||
587 | private static void ProcessUpdateFlag(SceneObjectPart obj, XmlTextReader reader) | ||
588 | { | ||
589 | obj.UpdateFlag = (byte)reader.ReadElementContentAsInt("UpdateFlag", String.Empty); | ||
590 | } | ||
591 | |||
592 | private static void ProcessSitTargetOrientation(SceneObjectPart obj, XmlTextReader reader) | 586 | private static void ProcessSitTargetOrientation(SceneObjectPart obj, XmlTextReader reader) |
593 | { | 587 | { |
594 | obj.SitTargetOrientation = Util.ReadQuaternion(reader, "SitTargetOrientation"); | 588 | obj.SitTargetOrientation = Util.ReadQuaternion(reader, "SitTargetOrientation"); |
@@ -1187,7 +1181,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1187 | WriteShape(writer, sop.Shape, options); | 1181 | WriteShape(writer, sop.Shape, options); |
1188 | 1182 | ||
1189 | WriteVector(writer, "Scale", sop.Scale); | 1183 | WriteVector(writer, "Scale", sop.Scale); |
1190 | writer.WriteElementString("UpdateFlag", sop.UpdateFlag.ToString()); | ||
1191 | WriteQuaternion(writer, "SitTargetOrientation", sop.SitTargetOrientation); | 1184 | WriteQuaternion(writer, "SitTargetOrientation", sop.SitTargetOrientation); |
1192 | WriteVector(writer, "SitTargetPosition", sop.SitTargetPosition); | 1185 | WriteVector(writer, "SitTargetPosition", sop.SitTargetPosition); |
1193 | WriteVector(writer, "SitTargetPositionLL", sop.SitTargetPositionLL); | 1186 | WriteVector(writer, "SitTargetPositionLL", sop.SitTargetPositionLL); |