summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-04-18 09:50:11 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-04-18 09:50:11 -0400
commitf7e6267461311266c84736dda1b99c57496ad84f (patch)
tree4269dd86943d73151049f62743dcef43353e1397 /indra/newview/llinventorybridge.cpp
parent9c2f2b884a16d180f83e76d3ed58c949c9692eaf (diff)
parentfa785d9cf4638233586ecd6566a7d78dad51bb35 (diff)
merged in 2.6.3 beta 2 changes from viewer-pre-beta
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"));
}