aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCharles Krinke2008-05-28 02:47:24 +0000
committerCharles Krinke2008-05-28 02:47:24 +0000
commite34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0 (patch)
treed5a7d883b789ff11b74a6aef711759a23a00d840
parentThank you very much, ChrisIndigo for a patch that: (diff)
downloadopensim-SC_OLD-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.zip
opensim-SC_OLD-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.gz
opensim-SC_OLD-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.bz2
opensim-SC_OLD-e34f537a1ae8d9c2ecc8e790d09c4007c2c58cf0.tar.xz
Thank you kindly, Melanie for a patch that:
When renaming items in task inventory, they become useless. Fix attached
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs2
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 }