diff options
author | Justin Clarke Casey | 2008-01-07 02:12:06 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-07 02:12:06 +0000 |
commit | 3e75dede1b744fa9a6b7cad00039620de01fb2e2 (patch) | |
tree | aef7d627d0935d93a1cf01bf6ee16f2584c1a2ac /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | |
parent | * Adding More to the MessageServer classes. (diff) | |
download | opensim-SC_OLD-3e75dede1b744fa9a6b7cad00039620de01fb2e2.zip opensim-SC_OLD-3e75dede1b744fa9a6b7cad00039620de01fb2e2.tar.gz opensim-SC_OLD-3e75dede1b744fa9a6b7cad00039620de01fb2e2.tar.bz2 opensim-SC_OLD-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 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-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 |