* 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.
This commit is contained in:
Justin Clarke Casey
2008-05-22 17:09:33 +00:00
parent a97fa3f43e
commit 401e9bc3b9
3 changed files with 57 additions and 1 deletions

View File

@@ -359,6 +359,17 @@ namespace OpenSim
m_sceneManager.LoadCurrentSceneFromXml2(DEFAULT_PRIM_BACKUP_FILENAME);
}
break;
case "save-oar":
if (cmdparams.Length > 0)
{
m_sceneManager.SaveCurrentSceneToOar(cmdparams[0]);
}
else
{
m_sceneManager.SaveCurrentSceneToOar(DEFAULT_OAR_BACKUP_FILENAME);
}
break;
case "plugin":
m_sceneManager.SendCommandToPluginModules(cmdparams);