forgotten methods in SceneManager for the terrain serialising.

0.6.0-stable
MW 2008-06-25 19:46:48 +00:00
parent d1d846f23f
commit e4f85bcbe7
1 changed files with 11 additions and 0 deletions

View File

@ -232,6 +232,17 @@ namespace OpenSim.Region.Environment.Scenes
CurrentOrFirstScene.LoadPrimsFromArchive(filename); CurrentOrFirstScene.LoadPrimsFromArchive(filename);
} }
public string SaveCurrentSceneMapToXmlString()
{
return CurrentOrFirstScene.Heightmap.SaveToXmlString();
}
public void LoadCurrenSceneMapFromXmlString(string mapData)
{
CurrentOrFirstScene.Heightmap.LoadFromXmlString(mapData);
}
[Obsolete("TODO: Remove this warning by 0.7")] [Obsolete("TODO: Remove this warning by 0.7")]
public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result) public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result)
{ {