summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelappearancetab.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-15 12:18:31 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-15 12:18:31 -0400
commit7ccf02515ad3f9e3bf795d651fe4b3c0d773f353 (patch)
treec4adc897c07f652e617e91fbf41c12b823acc808 /indra/newview/llpanelappearancetab.cpp
parent1abf5f18d6afc7ae9e1b1562b92e5c1ce33b722f (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge commit 'e7eced3' into lua-timers for whitespace fixes.
Diffstat (limited to 'indra/newview/llpanelappearancetab.cpp')
-rw-r--r--indra/newview/llpanelappearancetab.cpp20
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;
}