diff options
author | Charles Krinke | 2008-05-28 02:47:24 +0000 |
---|---|---|
committer | Charles Krinke | 2008-05-28 02:47:24 +0000 |
commit | e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0 (patch) | |
tree | d5a7d883b789ff11b74a6aef711759a23a00d840 | |
parent | Thank you very much, ChrisIndigo for a patch that: (diff) | |
download | opensim-SC-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.zip opensim-SC-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.gz opensim-SC-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.bz2 opensim-SC-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.xz |
Thank you kindly, Melanie for a patch that:
When renaming items in task inventory, they become useless. Fix attached
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
972 | } | 972 | } |
973 | else // Updating existing item with new perms etc | 973 | else // Updating existing item with new perms etc |
974 | { | 974 | { |
975 | TaskInventoryItem prevItem=part.GetInventoryItem(itemID); | ||
976 | itemInfo.AssetID = prevItem.AssetID; | ||
975 | if(part.UpdateInventoryItem(itemInfo)) | 977 | if(part.UpdateInventoryItem(itemInfo)) |
976 | part.GetProperties(remoteClient); | 978 | part.GetProperties(remoteClient); |
977 | } | 979 | } |