aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization
diff options
context:
space:
mode:
authorMelanie2011-11-03 00:06:14 +0000
committerMelanie2011-11-03 00:06:14 +0000
commit243acef917e8e61b9feef4587b440a77737e016e (patch)
treeaf80394d32977c53b729a395037dd080c8ffe214 /OpenSim/Region/Framework/Scenes/Serialization
parentMerge branch 'master' into bigmerge (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-243acef917e8e61b9feef4587b440a77737e016e.zip
opensim-SC-243acef917e8e61b9feef4587b440a77737e016e.tar.gz
opensim-SC-243acef917e8e61b9feef4587b440a77737e016e.tar.bz2
opensim-SC-243acef917e8e61b9feef4587b440a77737e016e.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/SceneGraph.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs7
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 11dad6c..680a6fa 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);
@@ -586,11 +585,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
586 obj.Scale = Util.ReadVector(reader, "Scale"); 585 obj.Scale = Util.ReadVector(reader, "Scale");
587 } 586 }
588 587
589 private static void ProcessUpdateFlag(SceneObjectPart obj, XmlTextReader reader)
590 {
591 obj.UpdateFlag = (byte)reader.ReadElementContentAsInt("UpdateFlag", String.Empty);
592 }
593
594 private static void ProcessSitTargetOrientation(SceneObjectPart obj, XmlTextReader reader) 588 private static void ProcessSitTargetOrientation(SceneObjectPart obj, XmlTextReader reader)
595 { 589 {
596 obj.SitTargetOrientation = Util.ReadQuaternion(reader, "SitTargetOrientation"); 590 obj.SitTargetOrientation = Util.ReadQuaternion(reader, "SitTargetOrientation");
@@ -1194,7 +1188,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
1194 WriteShape(writer, sop.Shape, options); 1188 WriteShape(writer, sop.Shape, options);
1195 1189
1196 WriteVector(writer, "Scale", sop.Scale); 1190 WriteVector(writer, "Scale", sop.Scale);
1197 writer.WriteElementString("UpdateFlag", sop.UpdateFlag.ToString());
1198 WriteQuaternion(writer, "SitTargetOrientation", sop.SitTargetOrientation); 1191 WriteQuaternion(writer, "SitTargetOrientation", sop.SitTargetOrientation);
1199 WriteVector(writer, "SitTargetPosition", sop.SitTargetPosition); 1192 WriteVector(writer, "SitTargetPosition", sop.SitTargetPosition);
1200 WriteVector(writer, "SitTargetPositionLL", sop.SitTargetPositionLL); 1193 WriteVector(writer, "SitTargetPositionLL", sop.SitTargetPositionLL);