summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2010-02-01 15:47:15 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2010-02-01 15:47:15 -0500
commit6e7ead6f4f4b87e242c9fc888324092c40ea5043 (patch)
treec9854b0b46477ca1b47cb553d282671b8d7cc1a6 /indra/newview/llappearancemgr.cpp
parentfca58b27507c653127bc7063dc5955070e4e297d (diff)
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
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp1
1 files changed, 0 insertions, 1 deletions
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());