summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-28 17:05:11 -0500
committerOz Linden <oz@lindenlab.com>2011-01-28 17:05:11 -0500
commitb4b3f78c455a614d7738c29cdc6383e857d6028d (patch)
tree84e35e9c1b2a05743b6236e9a7bfd14316169d13 /indra/newview/llinventoryfunctions.cpp
parenta9d023a4618e4e425d5d51e750374deebeff3bc0 (diff)
parentee2678be57668844221a462ed1e215c3c7cbd841 (diff)
pull back fixes from beta
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;
}