From 6e7ead6f4f4b87e242c9fc888324092c40ea5043 Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Mon, 1 Feb 2010 15:47:15 -0500 Subject: EXT-4075 BTEST-129 switching wearables makes you temporarily naked When switching from one pair of pants to another we were temporarily using an in-between state without pants as a valid rendering state. Removed a call to removeWearable to keep your pants on until the update from COF swaps the old pair of pants for the new. Lower body is redrawn only once lowest discard level of new pants arrives. Code reviewed by Bigpapi --- indra/newview/llappearancemgr.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 8f4ce4498e..5088c65122 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1081,7 +1081,6 @@ void LLAppearanceManager::addCOFItemLink(const LLInventoryItem *item, bool do_up // MULTI-WEARABLES: revisit if more than one per type is allowed. else if (areMatchingWearables(vitem,inv_item)) { - gAgentWearables.removeWearable(inv_item->getWearableType(),true,0); if (inv_item->getIsLinkType()) { gInventory.purgeObject(inv_item->getUUID()); -- cgit v1.2.3