diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-07-12 11:14:26 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-07-12 11:14:26 -0700 |
commit | b45271834161018be8c825e96c64d9ef7b67401c (patch) | |
tree | bfa36a69e2ee97a32a5cf2dd06d610cb5c1656bb /indra/llui/llviewquery.cpp | |
parent | 809a7a3b78f5f14ef22d3a8725e958b1705bd102 (diff) | |
parent | d3f114d6901877bb79ae9719f59d681fa6a9d494 (diff) |
Merged from viewer-release
Diffstat (limited to 'indra/llui/llviewquery.cpp')
-rw-r--r-- | indra/llui/llviewquery.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/llui/llviewquery.cpp b/indra/llui/llviewquery.cpp index bdb3d223a6..1b44cc528e 100644 --- a/indra/llui/llviewquery.cpp +++ b/indra/llui/llviewquery.cpp @@ -95,8 +95,8 @@ viewList_t LLViewQuery::run(LLView* view) const if (pre.first) { post = runFilters(view, filtered_children, mPostFilters); + } } - } if(pre.first && post.first) { @@ -119,12 +119,12 @@ void LLViewQuery::filterChildren(LLView * view, viewList_t & filtered_children) (*mSorterp)(view, views); // sort the children per the sorter } for(LLView::child_list_iter_t iter = views.begin(); - iter != views.end(); - iter++) - { - viewList_t indiv_children = this->run(*iter); - filtered_children.insert(filtered_children.end(), indiv_children.begin(), indiv_children.end()); - } + iter != views.end(); + iter++) + { + viewList_t indiv_children = this->run(*iter); + filtered_children.splice(filtered_children.end(), indiv_children); + } } filterResult_t LLViewQuery::runFilters(LLView * view, const viewList_t children, const filterList_t filters) const |