diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-21 15:55:55 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-21 15:55:55 -0500 |
commit | d034d8d9289a9e5511d32ec048b75837b89264ad (patch) | |
tree | c3fd25eb7d1096baef0290b5bf86321f7ed447ad /indra/newview/llinventoryfunctions.cpp | |
parent | 6150e4ed7cf86a2afc0061ba89b0cb049d6f036e (diff) | |
parent | 97a9211d87fac90994846e5bf91a78a708ec5a9c (diff) |
merge changes for vwr-24347
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index ef20869114..61d0a150b7 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -686,6 +686,12 @@ bool LLFindWearablesEx::operator()(LLInventoryCategory* cat, LLInventoryItem* it return false; } + // Skip broken links. + if (vitem->getIsBrokenLink()) + { + return false; + } + return (bool) get_is_item_worn(item->getUUID()) == mIsWorn; } |