aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-01-07 02:12:06 +0000
committerJustin Clarke Casey2008-01-07 02:12:06 +0000
commit3e75dede1b744fa9a6b7cad00039620de01fb2e2 (patch)
treeaef7d627d0935d93a1cf01bf6ee16f2584c1a2ac /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parent* Adding More to the MessageServer classes. (diff)
downloadopensim-SC-3e75dede1b744fa9a6b7cad00039620de01fb2e2.zip
opensim-SC-3e75dede1b744fa9a6b7cad00039620de01fb2e2.tar.gz
opensim-SC-3e75dede1b744fa9a6b7cad00039620de01fb2e2.tar.bz2
opensim-SC-3e75dede1b744fa9a6b7cad00039620de01fb2e2.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 5b46040..f3673fc 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -37,6 +37,19 @@ namespace OpenSim.Region.Environment.Scenes
37{ 37{
38 public partial class Scene 38 public partial class Scene
39 { 39 {
40 /// <summary>
41 /// Start all the scripts in the scene which should be started.
42 /// </summary>
43 public void StartScripts()
44 {
45 MainLog.Instance.Verbose("PRIMINVENTORY", "Starting scripts in scene");
46
47 foreach (SceneObjectGroup group in Entities.Values)
48 {
49 group.StartScripts();
50 }
51 }
52
40 //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 53 //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
41 // or at least some of they can be moved somewhere else 54 // or at least some of they can be moved somewhere else
42 55