diff options
author | Justin Clarke Casey | 2008-12-19 19:14:52 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-19 19:14:52 +0000 |
commit | 667a935fffd6741ab49137870a9e343315849ef7 (patch) | |
tree | 9dcbec35df45f769a448ba08da41499d823b6ae7 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * refactor: Rename IRegionSerialiser and move into interfaces namespace (diff) | |
download | opensim-SC_OLD-667a935fffd6741ab49137870a9e343315849ef7.zip opensim-SC_OLD-667a935fffd6741ab49137870a9e343315849ef7.tar.gz opensim-SC_OLD-667a935fffd6741ab49137870a9e343315849ef7.tar.bz2 opensim-SC_OLD-667a935fffd6741ab49137870a9e343315849ef7.tar.xz |
* refactor: remove xml serialization wrappers from Scene
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index fec89da..7d83ee2 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -42,8 +42,6 @@ using OpenSim.Framework.Communications.Cache; | |||
42 | using OpenSim.Framework.Servers; | 42 | using OpenSim.Framework.Servers; |
43 | using OpenSim.Region.Environment.Interfaces; | 43 | using OpenSim.Region.Environment.Interfaces; |
44 | using OpenSim.Region.Interfaces; | 44 | using OpenSim.Region.Interfaces; |
45 | using OpenSim.Region.Environment.Modules.World.Archiver; | ||
46 | using OpenSim.Region.Environment.Modules.World.Serialiser; | ||
47 | using OpenSim.Region.Environment.Modules.World.Terrain; | 45 | using OpenSim.Region.Environment.Modules.World.Terrain; |
48 | using OpenSim.Region.Environment.Scenes.Scripting; | 46 | using OpenSim.Region.Environment.Scenes.Scripting; |
49 | using OpenSim.Region.Physics.Manager; | 47 | using OpenSim.Region.Physics.Manager; |
@@ -1882,20 +1880,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
1882 | return false; | 1880 | return false; |
1883 | } | 1881 | } |
1884 | 1882 | ||
1885 | public void LoadPrimsFromXml(string fileName, bool newIdsFlag, Vector3 loadOffset) | ||
1886 | { | ||
1887 | m_log.InfoFormat("[SCENE]: Loading prims in xml format to region {0} from {1}", RegionInfo.RegionName, fileName); | ||
1888 | |||
1889 | m_serialiser.LoadPrimsFromXml(this, fileName, newIdsFlag, loadOffset); | ||
1890 | } | ||
1891 | |||
1892 | public void SavePrimsToXml(string fileName) | ||
1893 | { | ||
1894 | m_log.InfoFormat("[SCENE]: Saving prims in xml format for region {0} to {1}", RegionInfo.RegionName, fileName); | ||
1895 | |||
1896 | m_serialiser.SavePrimsToXml(this, fileName); | ||
1897 | } | ||
1898 | |||
1899 | public void LoadPrimsFromXml2(string fileName) | 1883 | public void LoadPrimsFromXml2(string fileName) |
1900 | { | 1884 | { |
1901 | m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0} from {1}", RegionInfo.RegionName, fileName); | 1885 | m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0} from {1}", RegionInfo.RegionName, fileName); |