diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-10-27 15:08:21 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-10-27 15:08:21 -0400 |
commit | 225ffbba205e832b75bed3492428ae3a0c8c7404 (patch) | |
tree | 510681690c0c3c5e2504739453873c7ed701c658 /indra/newview/llinventoryfunctions.cpp | |
parent | 1aee2f0d4d16548660df4995aaf3c349304962af (diff) | |
parent | a7143a9998f2a69d323d384558e078b05e9a73a2 (diff) |
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 07470bf883..1b07aa279b 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -487,12 +487,9 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(const LLInventoryIte return false; break; case LLAssetType::AT_OBJECT: - if (isAgentAvatarValid() && !gAgentAvatarp->isWearingAttachment(item->getUUID())) - return true; - break; case LLAssetType::AT_BODYPART: case LLAssetType::AT_CLOTHING: - if(!gAgentWearables.isWearingItem(item->getUUID())) + if (!get_is_item_worn(item->getUUID())) return true; break; default: |