diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2010-04-23 15:57:44 +0300 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2010-04-23 15:57:44 +0300 |
commit | f0f9ab5aa6f74e3bc53ae0aec86aad6d059fc2b3 (patch) | |
tree | b82275a4d707f3d6a684bb93f487fab8cdd6e0ce /indra/newview/llappearancemgr.cpp | |
parent | 5405bf10cdb2a1c75f0f28ec88e82a6ba5487183 (diff) |
fixed linux build
no review, no jira issue
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-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?) |