From 479731f6a0a779c17658fe7f258bdcfff9fb7794 Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Thu, 8 Jul 2010 19:12:45 +0300 Subject: EXT-8243 FIXED Replaced method to create link in COF with top-level LLAppearanceMgr::wearItemOnAvatar() method while DnD a wearable to COF. Reviewed by Vadim Savchuk and Neal Orman at https://codereview.productengine.com/secondlife/r/714/ --HG-- branch : product-engine --- indra/newview/llinventorybridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 9e7224d9b8..9712d4898e 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2989,7 +2989,7 @@ BOOL LLFolderBridge::dragItemIntoFolder(LLInventoryItem* inv_item, // BAP - should skip if dup. if (move_is_into_current_outfit) { - LLAppearanceMgr::instance().addCOFItemLink(inv_item); + LLAppearanceMgr::instance().wearItemOnAvatar(inv_item->getUUID(), true, true); } else { -- cgit v1.2.3