aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-15 09:55:47 +0000
committerAdam Frisby2008-04-15 09:55:47 +0000
commit0bec9f055105e323b46e87067e05ec10b1563bd5 (patch)
tree99f5e14fe9386d88823fb1e0e7acb61e55932624 /OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
parent* Fixes an issue with the BaseHttpServer in Linux (diff)
downloadopensim-SC-0bec9f055105e323b46e87067e05ec10b1563bd5.zip
opensim-SC-0bec9f055105e323b46e87067e05ec10b1563bd5.tar.gz
opensim-SC-0bec9f055105e323b46e87067e05ec10b1563bd5.tar.bz2
opensim-SC-0bec9f055105e323b46e87067e05ec10b1563bd5.tar.xz
* Added support for serialising objects to ExportSerialisationModule via SerialiseObjects.cs
* Cleaned up using tags on SerialiseTerrain.cs * Minor tweaks to ExportSerialisationModule.cs
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
new file mode 100644
index 0000000..d8cae6e
--- /dev/null
+++ b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseObjects.cs
@@ -0,0 +1,20 @@
1using OpenSim.Region.Environment.Scenes;
2
3namespace OpenSim.Region.Environment.Modules.ExportSerialiser
4{
5 class SerialiseObjects : IFileSerialiser
6 {
7 #region IFileSerialiser Members
8
9 public string WriteToFile(Scene scene, string dir)
10 {
11 string targetFileName = dir + "objects.xml";
12
13 scene.SavePrimsToXml2(targetFileName);
14
15 return "objects.xml";
16 }
17
18 #endregion
19 }
20}