From ef6d8e06ab243fb65e915e03cd46d6790252d850 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 26 Oct 2016 16:17:30 +0200 Subject: [PATCH] Backed out changeset 9d66fa217c05: This will create scary error messages in inventory for the LSL bridge during the creation process and attachments getting detached via RLV force wear ("Error: object is in current outfit but not attached") since RLVa (and as a result of that the LSL bridge as well) circumvents LLAppearanceMgr for detaching attachments via LLVOAvatarSelf::detachAttachmentIntoInventory(). This would basically require a change in the RLVa code first... --- indra/newview/llinventoryfunctions.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index fcdf1dabd6..38b67f60b6 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -521,10 +521,11 @@ BOOL get_is_item_worn(const LLUUID& id) return FALSE; // Consider the item as worn if it has links in COF. - if (LLAppearanceMgr::instance().isLinkedInCOF(id)) - { - return TRUE; - } +// [SL:KB] - The code below causes problems across the board so it really just needs to go +// if (LLAppearanceMgr::instance().isLinkedInCOF(id)) +// { +// return TRUE; +// } switch(item->getType()) {