diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-06 18:02:09 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-06 18:02:09 -0400 |
commit | 0a802ae351153008b40d42106c866836d0ee4954 (patch) | |
tree | 0701e2c09785525c5e8d854bf316161cd8d872eb /indra/newview/llinventorybridge.cpp | |
parent | 7cc0388d81476f61536c112d4838ef323f987c46 (diff) | |
parent | dfff5a476c0cd280332157034311df0c3e011b11 (diff) |
merge possible fix for VWR-25444
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 |
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")); } |