aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 51521ff..facf72d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -286,7 +286,6 @@ namespace OpenSim.Region.Environment.Scenes
286 public void AddInventoryItem(TaskInventoryItem item) 286 public void AddInventoryItem(TaskInventoryItem item)
287 { 287 {
288 item.ParentID = UUID; 288 item.ParentID = UUID;
289 item.CreationDate = 1000;
290 item.ParentPartID = UUID; 289 item.ParentPartID = UUID;
291 290
292 string name=FindAvailableInventoryName(item.Name); 291 string name=FindAvailableInventoryName(item.Name);
@@ -369,6 +368,10 @@ namespace OpenSim.Region.Environment.Scenes
369 { 368 {
370 if (m_taskInventory.ContainsKey(item.ItemID)) 369 if (m_taskInventory.ContainsKey(item.ItemID))
371 { 370 {
371 item.ParentID = UUID;
372 item.ParentPartID = UUID;
373 item.Flags=m_taskInventory[item.ItemID].Flags;
374
372 m_taskInventory[item.ItemID] = item; 375 m_taskInventory[item.ItemID] = item;
373 m_inventorySerial++; 376 m_inventorySerial++;
374 TriggerScriptChangedEvent(Changed.INVENTORY); 377 TriggerScriptChangedEvent(Changed.INVENTORY);