summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorWolfpup Lowenhar <wolfpup67@earthlink.net>2010-10-27 22:25:41 -0400
committerWolfpup Lowenhar <wolfpup67@earthlink.net>2010-10-27 22:25:41 -0400
commit9bd439e7c711de25ac65843c24575734f53f092f (patch)
treec54b7b52d5e81222b5f6590041dee0cfe5246f89 /indra/newview/llinventoryfunctions.cpp
parent379f9b824087a44f7ffab0becfafaa29611751be (diff)
parent158e647247f67344a5d7a9dde6ccc80bad615c9a (diff)
STORM-255 : Merge from viewer-development
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index f3d9639dee..ef20869114 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: