summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-08 17:36:13 -0400
committerOz Linden <oz@lindenlab.com>2011-04-08 17:36:13 -0400
commit5dea0bb37c2c4e58cc5535f5c02fed6ad555f02a (patch)
tree5ff27055ef071fd080aa29ea1e60058da12742cf /indra/newview/llinventorybridge.cpp
parent67aba3395d46a9b88f9d5dc758a27a7d8e542c16 (diff)
parent51b75b883269a0a78a9428a690324c17abf028c1 (diff)
merge changes for viewer-social-2
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 622a5607df..bdb9f6167a 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -4681,7 +4681,7 @@ void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
if (LLWearableType::getAllowMultiwear(mWearableType))
{
items.push_back(std::string("Wearable Add"));
- if (gAgentWearables.getWearableCount(mWearableType) > 0)
+ if (gAgentWearables.getWearableCount(mWearableType) >= LLAgentWearables::MAX_CLOTHING_PER_TYPE)
{
disabled_items.push_back(std::string("Wearable Add"));
}