diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index c6452f9..5ce8985 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -55,14 +55,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
55 | /// <summary> | 55 | /// <summary> |
56 | /// Start the scripts contained in all the prims in this group. | 56 | /// Start the scripts contained in all the prims in this group. |
57 | /// </summary> | 57 | /// </summary> |
58 | public void CreateScriptInstances(int startParam, bool postOnRez) | 58 | public void CreateScriptInstances(int startParam, bool postOnRez, |
59 | string engine) | ||
59 | { | 60 | { |
60 | // Don't start scripts if they're turned off in the region! | 61 | // Don't start scripts if they're turned off in the region! |
61 | if (!m_scene.RegionInfo.RegionSettings.DisableScripts) | 62 | if (!m_scene.RegionInfo.RegionSettings.DisableScripts) |
62 | { | 63 | { |
63 | foreach (SceneObjectPart part in m_parts.Values) | 64 | foreach (SceneObjectPart part in m_parts.Values) |
64 | { | 65 | { |
65 | part.CreateScriptInstances(startParam, postOnRez); | 66 | part.CreateScriptInstances(startParam, postOnRez, engine); |
66 | } | 67 | } |
67 | } | 68 | } |
68 | } | 69 | } |