aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs8
-rw-r--r--OpenSim/Region/Application/OpenSimMainConsole.cs11
2 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 61b4de0..ea7b0e7 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -62,7 +62,15 @@ namespace OpenSim
62 protected string proxyUrl; 62 protected string proxyUrl;
63 protected int proxyOffset = 0; 63 protected int proxyOffset = 0;
64 64
65 /// <summary>
66 /// The file used to load and save prim backup xml if none has been specified
67 /// </summary>
65 protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml"; 68 protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml";
69
70 /// <summary>
71 /// The file use to load and save an opensim archive if none has been specified
72 /// </summary>
73 protected const string DEFAULT_OAR_BACKUP_FILENAME = "scene.oar.zip";
66 74
67 public string m_physicsEngine; 75 public string m_physicsEngine;
68 public string m_meshEngineName; 76 public string m_meshEngineName;
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);