When serializing objects, stop accidentally using the green text colour value for alpha

This addresses http://opensimulator.org/mantis/view.php?id=5111
0.7.1-dev
Justin Clark-Casey (justincc) 2011-06-10 21:49:25 +01:00
parent a81b3e4b41
commit f71a5431c9
1 changed files with 1 additions and 1 deletions

View File

@ -1141,7 +1141,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture));
writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture));
writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture));
writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture));
writer.WriteElementString("A", sop.Color.A.ToString(Utils.EnUsCulture));
writer.WriteEndElement();
writer.WriteElementString("Text", sop.Text);