diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2010-04-23 16:28:35 +0300 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2010-04-23 16:28:35 +0300 |
commit | 1186e6dd74c7e828eacb93959b57f5ee074741a4 (patch) | |
tree | ff8b261a89f7a79b0cc85f50c202a3c521ae1d02 /indra/newview | |
parent | 6113dab230074c641d659b48f76c8799cd46b741 (diff) | |
parent | 72c7323df7fe89be366532705532a1c5bb2d97fe (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index a6a3aa28d6..6aefecc787 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1846,7 +1846,8 @@ bool LLAppearanceMgr::moveWearable(LLViewerInventoryItem* item, bool closer_to_b LLInventoryModel::cat_array_t cats; LLInventoryModel::item_array_t items; - gInventory.collectDescendentsIf(getCOF(), cats, items, true, LLFindClothesOfType(item->getWearableType())); + LLFindClothesOfType filter_wearables_of_type(item->getWearableType()); + gInventory.collectDescendentsIf(getCOF(), cats, items, true, filter_wearables_of_type); if (items.empty()) return false; //*TODO all items are not guarantied to have valid descriptions (check?) |