Finish folder gives. With this commit, single item and folder gives now

work across regions and also to offline avatars. Scripted gives are not
yet tested and may not work.
This commit is contained in:
Melanie Thielker
2009-03-23 02:02:12 +00:00
parent 412112acba
commit e1ea3f05aa

View File

@@ -451,6 +451,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
user.ControllingClient.SendBulkUpdateInventory(folderInfo);
// This unelegant, slow kludge is to reload the folders and
// items. Since a folder give can transfer subfolders and
// items, this is the easiest way to pull that stuff in
//
userInfo.DropInventory();
userInfo.FetchInventory();
// Deliver message
//
user.ControllingClient.SendInstantMessage(