* Put in stub code for inventory backup.
* No user functionality yet (and not for quite some time)0.6.0-stable
parent
0710fbb45e
commit
e7b3e7b749
|
@ -324,6 +324,10 @@ namespace OpenSim
|
|||
SaveOar(cmdparams);
|
||||
break;
|
||||
|
||||
case "save-inv":
|
||||
SaveInv(cmdparams);
|
||||
break;
|
||||
|
||||
case "plugin":
|
||||
m_sceneManager.SendCommandToPluginModules(cmdparams);
|
||||
break;
|
||||
|
@ -724,9 +728,13 @@ namespace OpenSim
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Load a whole region from an opensim archive.
|
||||
/// </summary>
|
||||
/// <param name="cmdparams"></param>
|
||||
protected void LoadOar(string[] cmdparams)
|
||||
{
|
||||
m_log.Warn("[CONSOLE]: Experimental functionality. Please don't rely on this.");
|
||||
m_log.Warn("[CONSOLE]: Experimental functionality. Please don't rely on this yet.");
|
||||
m_log.Warn("[CONSOLE]: See http://opensimulator.org/wiki/OpenSim_Archives for more details.");
|
||||
|
||||
if (cmdparams.Length > 0)
|
||||
|
@ -739,9 +747,13 @@ namespace OpenSim
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Save a region to a file, including all the assets needed to restore it.
|
||||
/// </summary>
|
||||
/// <param name="cmdparams"></param>
|
||||
protected void SaveOar(string[] cmdparams)
|
||||
{
|
||||
m_log.Warn("[CONSOLE]: Experimental functionality. Please don't rely on this.");
|
||||
m_log.Warn("[CONSOLE]: Experimental functionality. Please don't rely on this yet.");
|
||||
m_log.Warn("[CONSOLE]: See http://opensimulator.org/wiki/OpenSim_Archives for more details.");
|
||||
|
||||
if (cmdparams.Length > 0)
|
||||
|
@ -754,6 +766,15 @@ namespace OpenSim
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Save inventory to a file.
|
||||
/// </summary>
|
||||
/// <param name="cmdparams"></param>
|
||||
protected void SaveInv(string[] cmdparams)
|
||||
{
|
||||
m_log.Error("[CONSOLE]: This has not been implemented yet!");
|
||||
}
|
||||
|
||||
private static string CombineParams(string[] commandParams, int pos)
|
||||
{
|
||||
string result = String.Empty;
|
||||
|
|
|
@ -62,15 +62,20 @@ namespace OpenSim
|
|||
protected int proxyOffset = 0;
|
||||
|
||||
/// <summary>
|
||||
/// The file used to load and save prim backup xml if none has been specified
|
||||
/// The file used to load and save prim backup xml if no filename has been specified
|
||||
/// </summary>
|
||||
protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml";
|
||||
|
||||
/// <summary>
|
||||
/// The file use to load and save an opensim archive if none has been specified
|
||||
/// The file used to load and save an opensim archive if no filename has been specified
|
||||
/// </summary>
|
||||
protected const string DEFAULT_OAR_BACKUP_FILENAME = "scene_oar.tar.gz";
|
||||
|
||||
/// <summary>
|
||||
/// The file to load and save inventory if no filename has been specified
|
||||
/// </summary>
|
||||
protected const string DEFAULT_INV_BACKUP_FILENAME = "opensim_inv.tar.gz";
|
||||
|
||||
public string m_physicsEngine;
|
||||
public string m_meshEngineName;
|
||||
public string m_scriptEngine;
|
||||
|
|
|
@ -1784,6 +1784,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public LLUUID attachObjectAssetStore(IClientAPI remoteClient, SceneObjectGroup grp, LLUUID AgentId)
|
||||
{
|
||||
SceneObjectGroup objectGroup = grp;
|
||||
|
|
Loading…
Reference in New Issue