diff options
author | leyla_linden <none@none> | 2011-01-19 11:39:25 -0800 |
---|---|---|
committer | leyla_linden <none@none> | 2011-01-19 11:39:25 -0800 |
commit | 17068766b75fbe7dac968705f4f383fb61f73eb4 (patch) | |
tree | 9a6923653b721311b61edac947b2e7682972cce3 /indra/newview/llinventoryfunctions.cpp | |
parent | ca1c1eea78ff2ab83979a4308dd5a93ea0032fc8 (diff) | |
parent | eec6071766e6fef7015610b002a9bcb09ce36836 (diff) |
Merge
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 1b07aa279b..342d15cf0f 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; } |