diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs index d8cae6e..50c36d6 100644 --- a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs +++ b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs | |||
@@ -1,20 +1,20 @@ | |||
1 | using OpenSim.Region.Environment.Scenes; | 1 | using OpenSim.Region.Environment.Scenes; |
2 | 2 | ||
3 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser | 3 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser |
4 | { | 4 | { |
5 | class SerialiseObjects : IFileSerialiser | 5 | class SerialiseObjects : IFileSerialiser |
6 | { | 6 | { |
7 | #region IFileSerialiser Members | 7 | #region IFileSerialiser Members |
8 | 8 | ||
9 | public string WriteToFile(Scene scene, string dir) | 9 | public string WriteToFile(Scene scene, string dir) |
10 | { | 10 | { |
11 | string targetFileName = dir + "objects.xml"; | 11 | string targetFileName = dir + "objects.xml"; |
12 | 12 | ||
13 | scene.SavePrimsToXml2(targetFileName); | 13 | scene.SavePrimsToXml2(targetFileName); |
14 | 14 | ||
15 | return "objects.xml"; | 15 | return "objects.xml"; |
16 | } | 16 | } |
17 | 17 | ||
18 | #endregion | 18 | #endregion |
19 | } | 19 | } |
20 | } | 20 | } |