diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-06-26 12:21:12 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-06-26 12:21:12 +0300 |
commit | 51aaed86dee3b45fa96fc7b4e8c1b9486c880b3b (patch) | |
tree | a6229b74f9622503b241b93472eba6df24e200db /indra/newview | |
parent | 4cf53872eb8cc6d5b950da6aec269811cb2de1e3 (diff) |
MAINT-5300 FIXED Allow creating and editing new bodyparts.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llappearancemgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 8200f0ba07..4016529092 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1836,6 +1836,10 @@ bool LLAppearanceMgr::canAddWearables(const uuid_vec_t& item_ids) { ++n_clothes; } + else if (item->getType() == LLAssetType::AT_BODYPART) + { + return isAgentAvatarValid(); + } else { LL_WARNS() << "Unexpected wearable type" << LL_ENDL; |