summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-09-15 23:22:58 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-09-15 23:22:58 +0300
commit8c5e92a399dde318b08549dc3ab7fe20152ab336 (patch)
treea4593b2b022ca53bdb0946d9d73d6b24355e8aaf /indra/newview/llappearancemgr.cpp
parentc2b6620572056d4de372ccd77602c39afd2500c6 (diff)
parent3c8cc4d2ac4dbcbae6bc56ccb222a043d6616341 (diff)
Merged in pavelkproductengine/visual-outfit-browser
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index d6c33206b1..252e2f5dec 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -1875,15 +1875,15 @@ bool LLAppearanceMgr::getCanReplaceCOF(const LLUUID& outfit_cat_id)
return false;
}
- // Check whether the outfit contains any wearables we aren't wearing already (STORM-702).
+ // Check whether the outfit contains any wearables
LLInventoryModel::cat_array_t cats;
LLInventoryModel::item_array_t items;
- LLFindWearablesEx is_worn(/*is_worn=*/ false, /*include_body_parts=*/ true);
+ LLFindWearables is_wearable;
gInventory.collectDescendentsIf(outfit_cat_id,
cats,
items,
LLInventoryModel::EXCLUDE_TRASH,
- is_worn);
+ is_wearable);
return items.size() > 0;
}