summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-01-12 11:49:42 -0800
committerMerov Linden <merov@lindenlab.com>2011-01-12 11:49:42 -0800
commitdb8b7a21987cac6dd4f6c1f684a7836a64c45f69 (patch)
tree7cb092a1dbb9901ecd6d9081a58a098f674b2dd1 /indra/newview/llinventoryfunctions.cpp
parent40cd81f4238264070364349c264d17370b7981fb (diff)
parent05c14aa5588596a3bef49cee45e648c1f5ef18b7 (diff)
STORM-702 : pull in viewer-development
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp6
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;
}