From 71cd24b4799f8bc0bed2665cca103c39fec3a965 Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Thu, 3 Dec 2009 21:32:03 -0500 Subject: EXT-3124 : Add lookup for finding all linked items to an item Added ability to filter by UUID. Work in progress. --HG-- branch : avatar-pipeline --- indra/newview/llinventoryfilter.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llinventoryfilter.cpp') diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp index 3664d7d117..e5851bb624 100644 --- a/indra/newview/llinventoryfilter.cpp +++ b/indra/newview/llinventoryfilter.cpp @@ -232,6 +232,13 @@ void LLInventoryFilter::setFilterTypes(U64 types, EFilterType filter_type) mFilterOps.mFilterType = filter_type; } +void LLInventoryFilter::setFilterUUID(const LLUUID& object_id) +{ + mFilterOps.mFilterUUID = object_id; + mFilterOps.mFilterType = FILTERTYPE_UUID; + setModified(FILTER_RESTART); +} + void LLInventoryFilter::setFilterSubString(const std::string& string) { if (mFilterSubString != string) -- cgit v1.3