diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-22 20:51:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 20:51:58 +0300 |
| commit | 6cc7dd09d5e69cf57e6de7fb568a0ad2693f9c9a (patch) | |
| tree | fab23811a5cedc1ebf01479c852ee92ff62b636c /indra/newview/llpanelappearancetab.cpp | |
| parent | ef8f4819822288e044ea719feb6af7a1f4df4c4e (diff) | |
| parent | 7bb5afc11ee5a6af78302a8d76a9a619e2baaab2 (diff) | |
Merge pull request #1545 from Ansariel/DRTVWR-600-maint-A
Merge main into DRTVWR-600-maint-a
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; } |
