summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2011-01-21 15:55:31 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2011-01-21 15:55:31 -0800
commit1e9111466bb8a77fc8054ca3d458a6692579fd3e (patch)
tree16b3642ca58b29e5037aa9563fba84179df9ceb5 /indra/newview/llinventoryfunctions.cpp
parentdd3607cba651439fb1f73e78df38a160a2ef4f5c (diff)
parent45e25e83cf7457f495b051b9f7683ee299547290 (diff)
Merge
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;
}