Cause inventory to be fetched on scripted item gives if the destination
avatar is remote or offline.0.6.0-stable
parent
88d6557071
commit
6d4f8b38aa
|
@ -1065,6 +1065,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
"Avatar {0} cannot be found to add item",
|
"Avatar {0} cannot be found to add item",
|
||||||
avatarId);
|
avatarId);
|
||||||
}
|
}
|
||||||
|
if (!profile.HasReceivedInventory)
|
||||||
|
CommsManager.UserProfileCacheService.RequestInventoryForUser(avatarId);
|
||||||
InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId);
|
InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId);
|
||||||
|
|
||||||
if (agentItem == null)
|
if (agentItem == null)
|
||||||
|
|
Loading…
Reference in New Issue