diff options
Made some changes to the load/save xml format, So that the old format can still be used, I have added new console commands of "load-xml2" and "save-xml2", if the old versions worked for you then please continue using them (at least for now). The new versions haven't been tested that much, so their format could be subject to change.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index e3da550..d2718df 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -85,6 +85,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
85 | public void LoadCurrentSceneFromXml(string filename) | 85 | public void LoadCurrentSceneFromXml(string filename) |
86 | { | 86 | { |
87 | CurrentOrFirstScene.LoadPrimsFromXml(filename); | 87 | CurrentOrFirstScene.LoadPrimsFromXml(filename); |
88 | } | ||
89 | |||
90 | public void SaveCurrentSceneToXml2(string filename) | ||
91 | { | ||
92 | CurrentOrFirstScene.SavePrimsToXml2(filename); | ||
93 | } | ||
94 | |||
95 | public void LoadCurrentSceneFromXml2(string filename) | ||
96 | { | ||
97 | CurrentOrFirstScene.LoadPrimsFromXml2(filename); | ||
88 | } | 98 | } |
89 | 99 | ||
90 | public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result) | 100 | public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result) |