diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index 046e05b..50e3fa7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -37,7 +37,18 @@ using OpenSim.Region.Environment.Interfaces; | |||
37 | namespace OpenSim.Region.Environment.Scenes | 37 | namespace OpenSim.Region.Environment.Scenes |
38 | { | 38 | { |
39 | public partial class SceneObjectGroup : EntityBase | 39 | public partial class SceneObjectGroup : EntityBase |
40 | { | 40 | { |
41 | /// <summary> | ||
42 | /// Start the scripts contained in all the prims in this group. | ||
43 | /// </summary> | ||
44 | public void StartScripts() | ||
45 | { | ||
46 | foreach (SceneObjectPart part in m_parts.Values) | ||
47 | { | ||
48 | part.StartScripts(); | ||
49 | } | ||
50 | } | ||
51 | |||
41 | /// <summary> | 52 | /// <summary> |
42 | /// | 53 | /// |
43 | /// </summary> | 54 | /// </summary> |
@@ -131,6 +142,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
131 | return part.RemoveInventoryItem(remoteClient, localID, itemID); | 142 | return part.RemoveInventoryItem(remoteClient, localID, itemID); |
132 | } | 143 | } |
133 | return -1; | 144 | return -1; |
134 | } | 145 | } |
135 | } | 146 | } |
136 | } \ No newline at end of file | 147 | } \ No newline at end of file |