From f6d0b361d5b79ef023506f95e4ed6f8f2ebdc1dd Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Thu, 30 Jan 2025 00:10:33 +0100 Subject: Accurately reflect the worn status of inventory items (the reasons for why this was needed have been resolved in previous commits) --- indra/newview/llinventoryfunctions.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'indra/newview/llinventoryfunctions.cpp') 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: -- cgit v1.3