aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index c88dda6..522f75e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -1241,6 +1241,7 @@ namespace OpenSim.Region.Framework.Scenes
1241 if (engines == null) // No engine at all 1241 if (engines == null) // No engine at all
1242 return ret; 1242 return ret;
1243 1243
1244 Items.LockItemsForRead(true);
1244 foreach (TaskInventoryItem item in m_items.Values) 1245 foreach (TaskInventoryItem item in m_items.Values)
1245 { 1246 {
1246 if (item.InvType == (int)InventoryType.LSL) 1247 if (item.InvType == (int)InventoryType.LSL)
@@ -1268,6 +1269,7 @@ namespace OpenSim.Region.Framework.Scenes
1268 } 1269 }
1269 } 1270 }
1270 } 1271 }
1272 Items.LockItemsForRead(false);
1271 return ret; 1273 return ret;
1272 } 1274 }
1273 1275