diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-12-03 21:32:03 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-12-03 21:32:03 -0500 |
commit | 71cd24b4799f8bc0bed2665cca103c39fec3a965 (patch) | |
tree | b9bec2842abe285c83a21d95ff581578505d18bb /indra/newview/llinventoryfilter.cpp | |
parent | 0f2f846a12936991f0434d5aac50c850d76ce2a4 (diff) |
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
Diffstat (limited to 'indra/newview/llinventoryfilter.cpp')
-rw-r--r-- | indra/newview/llinventoryfilter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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) |