diff options
author | Melanie | 2010-01-26 14:44:07 +0000 |
---|---|---|
committer | Melanie | 2010-01-26 14:44:07 +0000 |
commit | 19484891bbe7a8ed9860d386af8d76ac0e0b8974 (patch) | |
tree | e19c1dde846569ee136a1aa1677d143af925e5e2 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |
parent | Fixes Region Crossings on a prim. (diff) | |
parent | Fix a problem where llDie() calls were sometimes leaving dead objects behind. (diff) | |
download | opensim-SC-19484891bbe7a8ed9860d386af8d76ac0e0b8974.zip opensim-SC-19484891bbe7a8ed9860d386af8d76ac0e0b8974.tar.gz opensim-SC-19484891bbe7a8ed9860d386af8d76ac0e0b8974.tar.bz2 opensim-SC-19484891bbe7a8ed9860d386af8d76ac0e0b8974.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index 5a06bdb..71354b4 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -74,13 +74,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
74 | /// <summary> | 74 | /// <summary> |
75 | /// Stop the scripts contained in all the prims in this group | 75 | /// Stop the scripts contained in all the prims in this group |
76 | /// </summary> | 76 | /// </summary> |
77 | public void RemoveScriptInstances() | 77 | /// <param name="sceneObjectBeingDeleted"> |
78 | /// Should be true if these scripts are being removed because the scene | ||
79 | /// object is being deleted. This will prevent spurious updates to the client. | ||
80 | /// </param> | ||
81 | public void RemoveScriptInstances(bool sceneObjectBeingDeleted) | ||
78 | { | 82 | { |
79 | lock (m_parts) | 83 | lock (m_parts) |
80 | { | 84 | { |
81 | foreach (SceneObjectPart part in m_parts.Values) | 85 | foreach (SceneObjectPart part in m_parts.Values) |
82 | { | 86 | { |
83 | part.Inventory.RemoveScriptInstances(); | 87 | part.Inventory.RemoveScriptInstances(sceneObjectBeingDeleted); |
84 | } | 88 | } |
85 | } | 89 | } |
86 | } | 90 | } |