aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
authorMW2007-10-22 11:06:54 +0000
committerMW2007-10-22 11:06:54 +0000
commit2681de366b22d1fc57d808c0cd98da0426a0379e (patch)
tree2a88070a201dbadcff371b56edb1e101eb93fde1 /OpenSim/Region/Environment/Scenes/SceneManager.cs
parentBug fix, so that local loginserver (in standalone mode) can set a start posit... (diff)
downloadopensim-SC_OLD-2681de366b22d1fc57d808c0cd98da0426a0379e.zip
opensim-SC_OLD-2681de366b22d1fc57d808c0cd98da0426a0379e.tar.gz
opensim-SC_OLD-2681de366b22d1fc57d808c0cd98da0426a0379e.tar.bz2
opensim-SC_OLD-2681de366b22d1fc57d808c0cd98da0426a0379e.tar.xz
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.cs10
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)