diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-09-13 13:02:20 +0300 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-09-13 13:02:20 +0300 | 
| commit | 07cc376831b38334d9bcadf52b030073ced571da (patch) | |
| tree | 53323c4cf2ddae58f72a97eca18396700a4cadb8 | |
| parent | 50ed0db1ff05c806b2a28ab0368a492c98762419 (diff) | |
MAINT-6718 Can't Wear - Replace current outfits.
| -rw-r--r-- | indra/newview/llappearancemgr.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index ff5439d610..937ee86450 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;  } | 
