diff options
author | Justin Clarke Casey | 2009-05-14 16:33:04 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-05-14 16:33:04 +0000 |
commit | d10b5e29bcef7335d38d4cbb590b60b7b171897b (patch) | |
tree | 957624c5fb9bdda9b715320fd477d771e0883717 /OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs | |
parent | Remove empty server dirs to break the mold and allow a new structure to evolve (diff) | |
download | opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.zip opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.gz opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.bz2 opensim-SC_OLD-d10b5e29bcef7335d38d4cbb590b60b7b171897b.tar.xz |
* refactor: break some of xml2 serialization out of sog
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs b/OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs index 49fe8a4..5418139 100644 --- a/OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs +++ b/OpenSim/Region/Framework/Scenes/SceneXmlLoader.cs | |||
@@ -101,7 +101,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
101 | 101 | ||
102 | public static string SaveGroupToXml2(SceneObjectGroup grp) | 102 | public static string SaveGroupToXml2(SceneObjectGroup grp) |
103 | { | 103 | { |
104 | return grp.ToXmlString2(); | 104 | return SceneObjectSerializer.ToXml2Format(grp); |
105 | } | 105 | } |
106 | 106 | ||
107 | public static SceneObjectGroup DeserializeGroupFromXml2(string xmlString) | 107 | public static SceneObjectGroup DeserializeGroupFromXml2(string xmlString) |
@@ -278,7 +278,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
278 | continue; | 278 | continue; |
279 | } | 279 | } |
280 | 280 | ||
281 | stream.WriteLine(g.ToXmlString2()); | 281 | stream.WriteLine(SceneObjectSerializer.ToXml2Format(g)); |
282 | primCount++; | 282 | primCount++; |
283 | } | 283 | } |
284 | } | 284 | } |