aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
authorMW2008-06-25 19:46:48 +0000
committerMW2008-06-25 19:46:48 +0000
commite4f85bcbe74696d5863d318cf0b761636ec8cd0d (patch)
treee92233e1c9df52fcddd12953ff219e5910e4d0a1 /OpenSim/Region/Environment/Scenes/SceneManager.cs
parentchugging away on nhibernate, more incremental process (diff)
downloadopensim-SC-e4f85bcbe74696d5863d318cf0b761636ec8cd0d.zip
opensim-SC-e4f85bcbe74696d5863d318cf0b761636ec8cd0d.tar.gz
opensim-SC-e4f85bcbe74696d5863d318cf0b761636ec8cd0d.tar.bz2
opensim-SC-e4f85bcbe74696d5863d318cf0b761636ec8cd0d.tar.xz
forgotten methods in SceneManager for the terrain serialising.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 8fee27f..add8081 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -232,6 +232,17 @@ namespace OpenSim.Region.Environment.Scenes
232 CurrentOrFirstScene.LoadPrimsFromArchive(filename); 232 CurrentOrFirstScene.LoadPrimsFromArchive(filename);
233 } 233 }
234 234
235
236 public string SaveCurrentSceneMapToXmlString()
237 {
238 return CurrentOrFirstScene.Heightmap.SaveToXmlString();
239 }
240
241 public void LoadCurrenSceneMapFromXmlString(string mapData)
242 {
243 CurrentOrFirstScene.Heightmap.LoadFromXmlString(mapData);
244 }
245
235 [Obsolete("TODO: Remove this warning by 0.7")] 246 [Obsolete("TODO: Remove this warning by 0.7")]
236 public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result) 247 public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result)
237 { 248 {