summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-03-06 15:57:11 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-03-06 15:57:11 -0500
commitd44e5b7d9cd22e372ce19aa1d4f62904d13ed97e (patch)
tree5abc2a359615e099e3f356efbcc2c576389a2beb /indra
parent6aa63dce3367a60a5f8ae58d0651844ec7a0a79e (diff)
SL-103 WIP - comment re: possible future work
Diffstat (limited to 'indra')
-rwxr-xr-xindra/llui/llfolderview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 474b545f00..3ec92cb6e7 100755
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -1809,7 +1809,9 @@ void LLFolderView::updateMenuOptions(LLMenuGL* menu)
}
// Successively filter out invalid options
-
+ // FIXME this item-by-item approach does not allow options to be enabled/disabled based on the selection as a whole - for example,
+ // if avatar has room for one more wearable, and the selection includes two wearables, add should be disabled.
+ // llwearableitemslist.cpp has a more holistic approach here.
U32 multi_select_flag = (mSelectedItems.size() > 1 ? ITEM_IN_MULTI_SELECTION : 0x0);
U32 flags = multi_select_flag | FIRST_SELECTED_ITEM;
for (selected_items_t::iterator item_itor = mSelectedItems.begin();