diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-15 12:46:26 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-15 12:46:26 +0300 |
commit | bf1235b017b254ba989b156c73c4ce18ba4e6c23 (patch) | |
tree | 8dd5dad68be3aa5cda16938cc3bfaa70f6faad41 /indra/newview/llpanelappearancetab.cpp | |
parent | 1e9e5a7b7629276d509c352699fb5891c2dc6587 (diff) | |
parent | e7eced3c87310b15ac20cc3cd470d67686104a14 (diff) |
Merge branch 'marchcat/w-whitespace' into marchcat/x-mf-merge
Diffstat (limited to 'indra/newview/llpanelappearancetab.cpp')
-rw-r--r-- | indra/newview/llpanelappearancetab.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/indra/newview/llpanelappearancetab.cpp b/indra/newview/llpanelappearancetab.cpp index 16bd8a1380..3ee4ab8e51 100644 --- a/indra/newview/llpanelappearancetab.cpp +++ b/indra/newview/llpanelappearancetab.cpp @@ -59,17 +59,17 @@ void LLPanelAppearanceTab::checkFilterSubString() // virtual bool LLPanelAppearanceTab::canTakeOffSelected() { - uuid_vec_t selected_uuids; - getSelectedItemsUUIDs(selected_uuids); + uuid_vec_t selected_uuids; + getSelectedItemsUUIDs(selected_uuids); - LLFindWearablesEx is_worn(/*is_worn=*/ true, /*include_body_parts=*/ false); + LLFindWearablesEx is_worn(/*is_worn=*/ true, /*include_body_parts=*/ false); - for (uuid_vec_t::const_iterator it=selected_uuids.begin(); it != selected_uuids.end(); ++it) - { - LLViewerInventoryItem* item = gInventory.getItem(*it); - if (!item) continue; + for (uuid_vec_t::const_iterator it=selected_uuids.begin(); it != selected_uuids.end(); ++it) + { + LLViewerInventoryItem* item = gInventory.getItem(*it); + if (!item) continue; - if (is_worn(NULL, item)) return true; - } - return false; + if (is_worn(NULL, item)) return true; + } + return false; } |