diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-05-15 18:08:12 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-05-15 18:08:12 -0400 |
commit | 8a4add76b44bab32633c5432f8852e5351770c91 (patch) | |
tree | 4bd0070035d66ce03b300490435d4f0fc10d9760 /indra/newview/llinventorybridge.cpp | |
parent | 2ed3746aee81901435f3f28f71a497d234d680d2 (diff) |
SH-4175 WIP - Avoid add to outfit or remove from outfit when an outfit change is already in progress
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rwxr-xr-x | indra/newview/llinventorybridge.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index abebd0aa5e..b857f8bbec 100755 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3579,6 +3579,10 @@ void LLFolderBridge::buildContextMenuFolderOptions(U32 flags, menuentry_vec_t& { disabled_items.push_back(std::string("Replace Outfit")); } + if (!LLAppearanceMgr::instance().getCanAddToCOF(mUUID)) + { + disabled_items.push_back(std::string("Add To Outfit")); + } items.push_back(std::string("Outfit Separator")); } } |