Remove llwarns spam on rightclick of bodypart in inventory. Also, disabling 'add' option if group selected wearables would exceed wearable limits should not in any way override visibility of that option.
This commit is contained in:
@@ -1937,6 +1937,10 @@ bool LLAppearanceMgr::canAddWearables(const uuid_vec_t& item_ids)
|
||||
{
|
||||
++n_clothes;
|
||||
}
|
||||
else if (item->getType() == LLAssetType::AT_BODYPART)
|
||||
{
|
||||
return false; //If we have a bodypart in selection we cannot use 'add'.
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_WARNS() << "Unexpected wearable type" << LL_ENDL;
|
||||
|
||||
Reference in New Issue
Block a user