mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Persistent prim inventory phase 5. Restart scripts contained in persisted prims on region start.
No user functionality exposed yet - no ini switch to enable persistence or restore. A bit more initial work to do.
This commit is contained in:
@@ -37,7 +37,18 @@ using OpenSim.Region.Environment.Interfaces;
|
||||
namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
public partial class SceneObjectGroup : EntityBase
|
||||
{
|
||||
{
|
||||
/// <summary>
|
||||
/// Start the scripts contained in all the prims in this group.
|
||||
/// </summary>
|
||||
public void StartScripts()
|
||||
{
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
{
|
||||
part.StartScripts();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -131,6 +142,6 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return part.RemoveInventoryItem(remoteClient, localID, itemID);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user