aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
diff options
context:
space:
mode:
authorJeff Ames2008-04-15 10:02:06 +0000
committerJeff Ames2008-04-15 10:02:06 +0000
commit06d05bd339e9c2407392119b89305ec028f04b57 (patch)
treebaff869a089595716b01510a644b780848551bec /OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
parent* Added support for serialising objects to ExportSerialisationModule via Seri... (diff)
downloadopensim-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.cs40
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 @@
1using OpenSim.Region.Environment.Scenes; 1using OpenSim.Region.Environment.Scenes;
2 2
3namespace OpenSim.Region.Environment.Modules.ExportSerialiser 3namespace 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}