diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 13 |
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 | ||