summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-06-26 12:21:12 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-06-26 12:21:12 +0300
commit51aaed86dee3b45fa96fc7b4e8c1b9486c880b3b (patch)
treea6229b74f9622503b241b93472eba6df24e200db
parent4cf53872eb8cc6d5b950da6aec269811cb2de1e3 (diff)
MAINT-5300 FIXED Allow creating and editing new bodyparts.
-rwxr-xr-xindra/newview/llappearancemgr.cpp4
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;