Cause inventory to be fetched on scripted item gives if the destination

avatar is remote or offline.
0.6.0-stable
Melanie Thielker 2008-11-02 08:53:03 +00:00
parent 88d6557071
commit 6d4f8b38aa
1 changed files with 2 additions and 0 deletions

View File

@ -1065,6 +1065,8 @@ namespace OpenSim.Region.Environment.Scenes
"Avatar {0} cannot be found to add item",
avatarId);
}
if (!profile.HasReceivedInventory)
CommsManager.UserProfileCacheService.RequestInventoryForUser(avatarId);
InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId);
if (agentItem == null)