diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-09-17 22:52:51 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-09-17 22:52:51 +0300 |
commit | 8eb6c6dec89aff623854394aa8e373926ff4e869 (patch) | |
tree | d9b56257dc5cdaa195570ed5bd3311ca785440d3 | |
parent | 27bbf79c89fb8c737b88d769b2056304aef69dc3 (diff) |
STORM-183 ADDITIONAL FIX Disabled the "Replace Current Outfit" option of the inventory context menu for incomplete outfits.
-rw-r--r-- | 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 02e7f0b9e2..311d791319 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2471,6 +2471,10 @@ void LLFolderBridge::folderOptionsMenu() { disabled_items.push_back(std::string("Remove From Outfit")); } + if (!LLAppearanceMgr::instance().getCanReplaceCOF(mUUID)) + { + disabled_items.push_back(std::string("Replace Outfit")); + } mItems.push_back(std::string("Outfit Separator")); } LLMenuGL* menup = dynamic_cast<LLMenuGL*>(mMenu.get()); |