remove spurius newline

0.9.1.0-post-fixes
UbitUmarov 2018-12-20 08:11:03 +00:00
parent 23d03517a9
commit b240de6aca
1 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
XmlTextWriter writer = new XmlTextWriter(stream); XmlTextWriter writer = new XmlTextWriter(stream);
int primCount = 0; int primCount = 0;
stream.WriteLine("<scene>\n"); stream.WriteLine("<scene>");
foreach (EntityBase ent in entityList) foreach (EntityBase ent in entityList)
{ {
@ -210,13 +210,13 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
//stream.WriteLine(SceneObjectSerializer.ToXml2Format(g)); //stream.WriteLine(SceneObjectSerializer.ToXml2Format(g));
SceneObjectSerializer.SOGToXml2(writer, (SceneObjectGroup)ent, new Dictionary<string,object>()); SceneObjectSerializer.SOGToXml2(writer, (SceneObjectGroup)ent, new Dictionary<string,object>());
stream.WriteLine(); // stream.WriteLine();
primCount++; primCount++;
} }
} }
stream.WriteLine("</scene>\n"); stream.WriteLine("</scene>");
stream.Flush(); stream.Flush();
} }