summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2025-01-30 00:10:33 +0100
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-03-15 21:55:33 +0200
commitf6d0b361d5b79ef023506f95e4ed6f8f2ebdc1dd (patch)
treedb0339c7681e42f1324a336155be603556021d4b
parent6c6d618f6db3941e95223a49f1daf8f6a05346a2 (diff)
Accurately reflect the worn status of inventory items (the reasons for why this was needed have been resolved in previous commits)
-rw-r--r--indra/newview/llinventoryfunctions.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 7522ea4907..a6fda946ef 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -634,12 +634,6 @@ bool get_is_item_worn(const LLUUID& id, const LLViewerInventoryItem* item)
return false;
}
- // Consider the item as worn if it has links in COF.
- if (LLAppearanceMgr::instance().isLinkedInCOF(id))
- {
- return true;
- }
-
switch(item->getType())
{
case LLAssetType::AT_OBJECT: