diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-04-19 16:35:37 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-04-19 16:35:37 -0500 |
| commit | 5cf5e4bb888e67dc1dd79eaec491b242a7f3a903 (patch) | |
| tree | 7b43bff3ea4e1309c6ae4b9bd1fd8ada251f7a52 /indra/newview/llinventorybridge.cpp | |
| parent | 25566075980d45c30ee25603d94454e081119210 (diff) | |
| parent | 3b5d6eed12d928e5a7a0bc3a8d827f676b25d060 (diff) | |
merge
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 01e0e25927..86c8a1a9b5 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4698,7 +4698,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")); } |
