diff options
author | Justin Clark-Casey (justincc) | 2011-06-10 21:49:25 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-06-10 21:49:25 +0100 |
commit | fc7e17baf74a4b3ce4c47480f24266180dd4353d (patch) | |
tree | a0cad0b530b19541b175648e0802f01b18972b00 | |
parent | Added missing "Old Guids=true" to ConnectionString (diff) | |
download | opensim-SC_OLD-fc7e17baf74a4b3ce4c47480f24266180dd4353d.zip opensim-SC_OLD-fc7e17baf74a4b3ce4c47480f24266180dd4353d.tar.gz opensim-SC_OLD-fc7e17baf74a4b3ce4c47480f24266180dd4353d.tar.bz2 opensim-SC_OLD-fc7e17baf74a4b3ce4c47480f24266180dd4353d.tar.xz |
When serializing objects, stop accidentally using the green text colour value for alpha
This addresses http://opensimulator.org/mantis/view.php?id=5111
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 6ae4f38..fcf7e0c 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1171,7 +1171,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1171 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); | 1171 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); |
1172 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); | 1172 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); |
1173 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); | 1173 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); |
1174 | writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); | 1174 | writer.WriteElementString("A", sop.Color.A.ToString(Utils.EnUsCulture)); |
1175 | writer.WriteEndElement(); | 1175 | writer.WriteEndElement(); |
1176 | 1176 | ||
1177 | writer.WriteElementString("Text", sop.Text); | 1177 | writer.WriteElementString("Text", sop.Text); |