aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 da1b983..9412e09 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -959,6 +959,7 @@ namespace OpenSim.Region.Framework.Scenes
959 if (m_inventorySerial == 0) // No inventory 959 if (m_inventorySerial == 0) // No inventory
960 { 960 {
961 client.SendTaskInventory(m_part.UUID, 0, new byte[0]); 961 client.SendTaskInventory(m_part.UUID, 0, new byte[0]);
962 Items.LockItemsForRead(false);
962 return; 963 return;
963 } 964 }
964 965
@@ -971,6 +972,7 @@ namespace OpenSim.Region.Framework.Scenes
971 { 972 {
972 xferManager.AddNewFile(m_inventoryFileName, 973 xferManager.AddNewFile(m_inventoryFileName,
973 m_inventoryFileData); 974 m_inventoryFileData);
975 Items.LockItemsForRead(false);
974 return; 976 return;
975 } 977 }
976 } 978 }