diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs index e413466..ac80f40 100644 --- a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs +++ b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs | |||
@@ -25,10 +25,11 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Region.Environment.Scenes; | ||
29 | using System.IO; | ||
30 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using System.IO; | ||
30 | using System.Text; | ||
31 | using System.Xml; | 31 | using System.Xml; |
32 | using OpenSim.Region.Environment.Scenes; | ||
32 | 33 | ||
33 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser | 34 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser |
34 | { | 35 | { |
@@ -61,7 +62,7 @@ namespace OpenSim.Region.Environment.Modules.ExportSerialiser | |||
61 | xmlstream += "</scene>"; | 62 | xmlstream += "</scene>"; |
62 | 63 | ||
63 | MemoryStream stream = new MemoryStream(); | 64 | MemoryStream stream = new MemoryStream(); |
64 | XmlTextWriter formatter = new XmlTextWriter(stream, System.Text.Encoding.UTF8); | 65 | XmlTextWriter formatter = new XmlTextWriter(stream, Encoding.UTF8); |
65 | XmlDocument doc = new XmlDocument(); | 66 | XmlDocument doc = new XmlDocument(); |
66 | 67 | ||
67 | doc.LoadXml(xmlstream); | 68 | doc.LoadXml(xmlstream); |