aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {