summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2023-01-13 19:47:24 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2023-01-13 19:47:24 +0200
commit752075d6d4b55f329ef21c4b0b78636f8faaa34d (patch)
tree2e8fb22edbf048a4a96e3daeb5034c8f491457a7
parent63494cf5c9157db76e57ccddb241d759b716813f (diff)
SL-18823 Restore fix after the merge
-rw-r--r--indra/newview/llinventoryfunctions.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 370d8154d9..ffeaa15cff 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -2658,7 +2658,12 @@ void LLInventoryAction::doToSelected(LLInventoryModel* model, LLFolderView* root
}
else
{
- std::copy(selected_uuid_set.begin(), selected_uuid_set.end(), std::back_inserter(ids));
+ for (std::set<LLFolderViewItem*>::iterator it = selected_items.begin(), end_it = selected_items.end();
+ it != end_it;
+ ++it)
+ {
+ ids.push_back(static_cast<LLFolderViewModelItemInventory*>((*it)->getViewModelItem())->getUUID());
+ }
}
// Check for actions that get handled in bulk