diff options
author | Justin Clark-Casey (justincc) | 2011-06-04 01:37:01 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-06-04 01:37:01 +0100 |
commit | fe890554fbf47cafda2a41e04b400d971f1242ad (patch) | |
tree | 7fcf93f3cbf1bfd917494fa3a1db2b457a6c2208 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |
parent | create TestGetInventoryItem() (diff) | |
download | opensim-SC_OLD-fe890554fbf47cafda2a41e04b400d971f1242ad.zip opensim-SC_OLD-fe890554fbf47cafda2a41e04b400d971f1242ad.tar.gz opensim-SC_OLD-fe890554fbf47cafda2a41e04b400d971f1242ad.tar.bz2 opensim-SC_OLD-fe890554fbf47cafda2a41e04b400d971f1242ad.tar.xz |
insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items rather than just the first one
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs index c34a0ec..c2ad079 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |||
@@ -255,10 +255,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
255 | 255 | ||
256 | // The path may point to an item instead | 256 | // The path may point to an item instead |
257 | if (inventoryFolder == null) | 257 | if (inventoryFolder == null) |
258 | { | ||
259 | inventoryItem = InventoryArchiveUtils.FindItemByPath(m_scene.InventoryService, rootFolder, m_invPath); | 258 | inventoryItem = InventoryArchiveUtils.FindItemByPath(m_scene.InventoryService, rootFolder, m_invPath); |
260 | //inventoryItem = m_userInfo.RootFolder.FindItemByPath(m_invPath); | ||
261 | } | ||
262 | 259 | ||
263 | if (null == inventoryFolder && null == inventoryItem) | 260 | if (null == inventoryFolder && null == inventoryItem) |
264 | { | 261 | { |