From e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Wed, 28 May 2008 02:47:24 +0000 Subject: Thank you kindly, Melanie for a patch that: When renaming items in task inventory, they become useless. Fix attached --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index f27d0ab..5e7fd98 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -972,6 +972,8 @@ namespace OpenSim.Region.Environment.Scenes } else // Updating existing item with new perms etc { + TaskInventoryItem prevItem=part.GetInventoryItem(itemID); + itemInfo.AssetID = prevItem.AssetID; if(part.UpdateInventoryItem(itemInfo)) part.GetProperties(remoteClient); } -- cgit v1.1