forgotten methods in SceneManager for the terrain serialising.
parent
d1d846f23f
commit
e4f85bcbe7
|
@ -232,6 +232,17 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
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")]
|
||||
public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue