From 9b4399eec18fa2422a8e110c79c68420c1a74eed Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 26 Oct 2016 13:06:28 +0200 Subject: [PATCH] The COF is the authoritative instance, so if something is linked in COF it needs to be considered as worn --- indra/newview/llinventoryfunctions.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 38b67f60b6..fcdf1dabd6 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -521,11 +521,10 @@ BOOL get_is_item_worn(const LLUUID& id) return FALSE; // Consider the item as worn if it has links in COF. -// [SL:KB] - The code below causes problems across the board so it really just needs to go -// if (LLAppearanceMgr::instance().isLinkedInCOF(id)) -// { -// return TRUE; -// } + if (LLAppearanceMgr::instance().isLinkedInCOF(id)) + { + return TRUE; + } switch(item->getType()) {