aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMainConsole.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-22 17:09:33 +0000
committerJustin Clarke Casey2008-05-22 17:09:33 +0000
commit401e9bc3b9083e106a9eb1b6bc6f2902e23cf9c0 (patch)
tree59269eae65bee46ef2494b75882fc5b5b4f79e43 /OpenSim/Region/Application/OpenSimMainConsole.cs
parentchanging more 'raw' HTTP status codes to OSHttpStatusCodes. (diff)
downloadopensim-SC_OLD-401e9bc3b9083e106a9eb1b6bc6f2902e23cf9c0.zip
opensim-SC_OLD-401e9bc3b9083e106a9eb1b6bc6f2902e23cf9c0.tar.gz
opensim-SC_OLD-401e9bc3b9083e106a9eb1b6bc6f2902e23cf9c0.tar.bz2
opensim-SC_OLD-401e9bc3b9083e106a9eb1b6bc6f2902e23cf9c0.tar.xz
* Documentation for load/save xml methods
* Insert the very rough beginning stubs for a save/load OpenSim archive facility that will load/save prim assets (textures & inventory) as well as the prim details themselves (our existing xml facilities). * This won't be ready for even rough testing for quite some time. * I'm doing this directly in the region server for now since this will be quicker to get something working (hence giving me the Serotonin boost that I need). However, there are very good arguments for later also including it (or moving it entirely) to the separate export executable which Sean stubbed out some time ago.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMainConsole.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs
index ea1243e..193bad4 100644
--- a/OpenSim/Region/Application/OpenSimMainConsole.cs
+++ b/OpenSim/Region/Application/OpenSimMainConsole.cs
@@ -359,6 +359,17 @@ namespace OpenSim
359 m_sceneManager.LoadCurrentSceneFromXml2(DEFAULT_PRIM_BACKUP_FILENAME); 359 m_sceneManager.LoadCurrentSceneFromXml2(DEFAULT_PRIM_BACKUP_FILENAME);
360 } 360 }
361 break; 361 break;
362
363 case "save-oar":
364 if (cmdparams.Length > 0)
365 {
366 m_sceneManager.SaveCurrentSceneToOar(cmdparams[0]);
367 }
368 else
369 {
370 m_sceneManager.SaveCurrentSceneToOar(DEFAULT_OAR_BACKUP_FILENAME);
371 }
372 break;
362 373
363 case "plugin": 374 case "plugin":
364 m_sceneManager.SendCommandToPluginModules(cmdparams); 375 m_sceneManager.SendCommandToPluginModules(cmdparams);