diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-05-24 14:18:04 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-05-24 14:18:04 -0400 |
commit | 536712a0410156ae1b216b71a6c98264161169aa (patch) | |
tree | 8c99e0031d276703f065a06068c425faa585e3dd /indra | |
parent | a2c3df025ca3af3536a2b08dd23ee51a148b013b (diff) |
EXT-7436 FIX pt 2 - added extra check for wearable to prevent log spam
Reviewed by Seraph
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 44362be6c3..4c50138891 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1493,7 +1493,7 @@ void LLAppearanceMgr::addCOFItemLink(const LLInventoryItem *item, bool do_update // Are these links to different items of the same body part // type? If so, new item will replace old. // TODO: MULTI-WEARABLE: check for wearable limit for clothing types - else if (is_body_part && (vitem->getWearableType() == wearable_type)) + else if (is_body_part && (vitem->isWearableType()) && (vitem->getWearableType() == wearable_type)) { if (inv_item->getIsLinkType()) { |