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.
0.6.5-rc1
Melanie Thielker 2009-03-23 02:02:12 +00:00
parent 412112acba
commit e1ea3f05aa
1 changed files with 7 additions and 0 deletions

View File

@ -451,6 +451,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
user.ControllingClient.SendBulkUpdateInventory(folderInfo); 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 // Deliver message
// //
user.ControllingClient.SendInstantMessage( user.ControllingClient.SendInstantMessage(