aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
index 6c9826f..605521a 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
@@ -1114,15 +1114,13 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
1114 WriteVector(writer, "AngularVelocity", sop.AngularVelocity); 1114 WriteVector(writer, "AngularVelocity", sop.AngularVelocity);
1115 WriteVector(writer, "Acceleration", sop.Acceleration); 1115 WriteVector(writer, "Acceleration", sop.Acceleration);
1116 writer.WriteElementString("Description", sop.Description); 1116 writer.WriteElementString("Description", sop.Description);
1117 if (sop.Color != null) 1117
1118 { 1118 writer.WriteStartElement("Color");
1119 writer.WriteStartElement("Color"); 1119 writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture));
1120 writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); 1120 writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture));
1121 writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); 1121 writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture));
1122 writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); 1122 writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture));
1123 writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); 1123 writer.WriteEndElement();
1124 writer.WriteEndElement();
1125 }
1126 1124
1127 writer.WriteElementString("Text", sop.Text); 1125 writer.WriteElementString("Text", sop.Text);
1128 writer.WriteElementString("SitName", sop.SitName); 1126 writer.WriteElementString("SitName", sop.SitName);