aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-06-04 14:31:36 +0000
committerCharles Krinke2008-06-04 14:31:36 +0000
commitd635b526e5997a66f3a54134230289cb248a9cee (patch)
tree46851f7e5f85f8831c1b8c59b0e007c2b75e39d0 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
parent* fleshing out XMPP entities, adding XmppWriter and XmppSerializer (diff)
downloadopensim-SC_OLD-d635b526e5997a66f3a54134230289cb248a9cee.zip
opensim-SC_OLD-d635b526e5997a66f3a54134230289cb248a9cee.tar.gz
opensim-SC_OLD-d635b526e5997a66f3a54134230289cb248a9cee.tar.bz2
opensim-SC_OLD-d635b526e5997a66f3a54134230289cb248a9cee.tar.xz
Mantis#1439. Thank you kindly, Melanie for a patch that
plumbs in the events for on_rez.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
index c49970f..3e84af0 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
@@ -98,6 +98,21 @@ namespace OpenSim.Region.Environment.Scenes
98 } 98 }
99 } 99 }
100 100
101 /// <summary>
102 /// Start the scripts contained in all the prims in this group.
103 /// </summary>
104 public void StartScripts(int param)
105 {
106 // Don't start scripts if they're turned off in the region!
107 if (!((m_scene.RegionInfo.EstateSettings.regionFlags & Simulator.RegionFlags.SkipScripts) == Simulator.RegionFlags.SkipScripts))
108 {
109 foreach (SceneObjectPart part in m_parts.Values)
110 {
111 part.StartScripts(param);
112 }
113 }
114 }
115
101 public void StopScripts() 116 public void StopScripts()
102 { 117 {
103 lock (m_parts) 118 lock (m_parts)