aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 44b76b7..8b4f0ed 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -749,13 +749,7 @@ namespace OpenSim.Region.Framework.Scenes
749 item.GroupID = m_part.GroupID; 749 item.GroupID = m_part.GroupID;
750 750
751 if (item.AssetID == UUID.Zero) 751 if (item.AssetID == UUID.Zero)
752 item.AssetID = it.AssetID; 752 item.AssetID = m_items[item.ItemID].AssetID;
753
754 lock (m_items)
755 {
756 m_items[item.ItemID] = item;
757 m_inventorySerial++;
758 }
759 753
760 m_items[item.ItemID] = item; 754 m_items[item.ItemID] = item;
761 m_inventorySerial++; 755 m_inventorySerial++;