aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-19 19:35:14 +0000
committerJustin Clarke Casey2008-12-19 19:35:14 +0000
commite62016d2c77270a0dc23e31c5d1ccc2d412fcec3 (patch)
treefb80c1e661e65878e3fa9962aad1aab49e70f939 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* refactor: remove xml serialization wrappers from Scene (diff)
downloadopensim-SC-e62016d2c77270a0dc23e31c5d1ccc2d412fcec3.zip
opensim-SC-e62016d2c77270a0dc23e31c5d1ccc2d412fcec3.tar.gz
opensim-SC-e62016d2c77270a0dc23e31c5d1ccc2d412fcec3.tar.bz2
opensim-SC-e62016d2c77270a0dc23e31c5d1ccc2d412fcec3.tar.xz
minor: Remove some serialization module scene wrappers
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 7d83ee2..eaf04ea 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1880,34 +1880,6 @@ namespace OpenSim.Region.Environment.Scenes
1880 return false; 1880 return false;
1881 } 1881 }
1882 1882
1883 public void LoadPrimsFromXml2(string fileName)
1884 {
1885 m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0} from {1}", RegionInfo.RegionName, fileName);
1886
1887 m_serialiser.LoadPrimsFromXml2(this, fileName);
1888 }
1889
1890 public void LoadPrimsFromXml2(TextReader reader, bool startScripts)
1891 {
1892 m_log.InfoFormat("[SCENE]: Loading prims in xml2 format to region {0} from stream", RegionInfo.RegionName);
1893
1894 m_serialiser.LoadPrimsFromXml2(this, reader, startScripts);
1895 }
1896
1897 public void SavePrimsToXml2(string fileName)
1898 {
1899 m_log.InfoFormat("[SCENE]: Saving prims in xml2 format for region {0} to {1}", RegionInfo.RegionName, fileName);
1900
1901 m_serialiser.SavePrimsToXml2(this, fileName);
1902 }
1903
1904 public void SavePrimsToXml2(TextWriter stream, Vector3 min, Vector3 max)
1905 {
1906 m_log.InfoFormat("[SCENE]: Saving prims in xml2 format for region {0} to stream", RegionInfo.RegionName);
1907
1908 m_serialiser.SavePrimsToXml2(this, stream, min, max);
1909 }
1910
1911 public void SaveNamedPrimsToXml2(string primName, string fileName) 1883 public void SaveNamedPrimsToXml2(string primName, string fileName)
1912 { 1884 {
1913 m_log.InfoFormat( 1885 m_log.InfoFormat(