aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
index 799cb41..8feb852 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
@@ -39,6 +39,20 @@ namespace OpenSim.Region.Environment.Scenes
39 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 39 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
40 40
41 /// <summary> 41 /// <summary>
42 /// Force all task inventories of prims in the scene object to persist
43 /// </summary>
44 public void ForceInventoryPersistence()
45 {
46 lock (m_parts)
47 {
48 foreach (SceneObjectPart part in m_parts.Values)
49 {
50 part.ForceInventoryPersistence();
51 }
52 }
53 }
54
55 /// <summary>
42 /// Start the scripts contained in all the prims in this group. 56 /// Start the scripts contained in all the prims in this group.
43 /// </summary> 57 /// </summary>
44 public void CreateScriptInstances(int startParam, bool postOnRez) 58 public void CreateScriptInstances(int startParam, bool postOnRez)
@@ -53,6 +67,9 @@ namespace OpenSim.Region.Environment.Scenes
53 } 67 }
54 } 68 }
55 69
70 /// <summary>
71 /// Stop the scripts contained in all the prims in this group
72 /// </summary>
56 public void RemoveScriptInstances() 73 public void RemoveScriptInstances()
57 { 74 {
58 lock (m_parts) 75 lock (m_parts)