mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +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,6 +37,19 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
public partial class Scene
|
||||
{
|
||||
/// <summary>
|
||||
/// Start all the scripts in the scene which should be started.
|
||||
/// </summary>
|
||||
public void StartScripts()
|
||||
{
|
||||
MainLog.Instance.Verbose("PRIMINVENTORY", "Starting scripts in scene");
|
||||
|
||||
foreach (SceneObjectGroup group in Entities.Values)
|
||||
{
|
||||
group.StartScripts();
|
||||
}
|
||||
}
|
||||
|
||||
//split these method into this partial as a lot of these (hopefully) are only temporary and won't be needed once Caps is more complete
|
||||
// or at least some of they can be moved somewhere else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user