summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-27 22:34:34 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-27 22:34:34 +0300
commit75980159451eb4f80c1ac03ec4b9d8d488279840 (patch)
tree610275b8d401180ce0d59841b6224b2101b95531 /indra/newview/llface.h
parent7bec8b2a9ee1182f9eec14305b7099bee44b7a10 (diff)
EXT-8491 FIXED Crash in LLAppearanceMgr::addCOFItemLink().
Reason: When you click on a clothing link in COF, LLAppearanceMgr::wearItemOnAvatar() removes all COF links of the clicked wearable type -- thus invalidating all previously obtained LLViewerInventoryItems for those links -- and then passes such an invalid item (item_to_wear) to addCOFItemLink() which of course crashes. Fix: 1. Handle this case in wearItemOnAvatar(): don't try wearing COF items. 2. Disable the Wear button in the inventory SP when a COF item is selected. 3. Fixed get_can_item_be_worn() to return FALSE for items which are in COF or have links in COF. Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/811/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llface.h')
0 files changed, 0 insertions, 0 deletions