diff options
author | Jeff Ames | 2008-04-15 10:02:06 +0000 |
---|---|---|
committer | Jeff Ames | 2008-04-15 10:02:06 +0000 |
commit | 06d05bd339e9c2407392119b89305ec028f04b57 (patch) | |
tree | baff869a089595716b01510a644b780848551bec /OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs | |
parent | * Added support for serialising objects to ExportSerialisationModule via Seri... (diff) | |
download | opensim-SC-06d05bd339e9c2407392119b89305ec028f04b57.zip opensim-SC-06d05bd339e9c2407392119b89305ec028f04b57.tar.gz opensim-SC-06d05bd339e9c2407392119b89305ec028f04b57.tar.bz2 opensim-SC-06d05bd339e9c2407392119b89305ec028f04b57.tar.xz |
Update svn properties.
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 | } |