diff options
author | Melanie Thielker | 2008-11-02 08:53:03 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-02 08:53:03 +0000 |
commit | 6d4f8b38aa763487d64a80f7bc51010b900f7b43 (patch) | |
tree | f6b54f153c85778b5626ed502dac9ba39d8ed527 /OpenSim | |
parent | Update svn properties, formatting cleanup. (diff) | |
download | opensim-SC_OLD-6d4f8b38aa763487d64a80f7bc51010b900f7b43.zip opensim-SC_OLD-6d4f8b38aa763487d64a80f7bc51010b900f7b43.tar.gz opensim-SC_OLD-6d4f8b38aa763487d64a80f7bc51010b900f7b43.tar.bz2 opensim-SC_OLD-6d4f8b38aa763487d64a80f7bc51010b900f7b43.tar.xz |
Cause inventory to be fetched on scripted item gives if the destination
avatar is remote or offline.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 |
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 0ebdf69..e2a0eec 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -1065,6 +1065,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1065 | "Avatar {0} cannot be found to add item", | 1065 | "Avatar {0} cannot be found to add item", |
1066 | avatarId); | 1066 | avatarId); |
1067 | } | 1067 | } |
1068 | if (!profile.HasReceivedInventory) | ||
1069 | CommsManager.UserProfileCacheService.RequestInventoryForUser(avatarId); | ||
1068 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId); | 1070 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId); |
1069 | 1071 | ||
1070 | if (agentItem == null) | 1072 | if (agentItem == null) |