summaryrefslogtreecommitdiff
path: root/indra/llui/llviewquery.cpp
diff options
context:
space:
mode:
authorChristian Goetze (CG) <cg@lindenlab.com>2010-07-22 13:29:05 -0700
committerChristian Goetze (CG) <cg@lindenlab.com>2010-07-22 13:29:05 -0700
commitfe8a5a007ab82f3d6a763c5cb133e1299d238632 (patch)
tree7a0787f0cb5a70890b878e999521ff4522fd75b4 /indra/llui/llviewquery.cpp
parent4339600d43601f07d01c676cce5da17c2758c4cb (diff)
parent9838884d908ad0c910251c64c7cb3c761ac11f70 (diff)
merged from "viewer-hotfix"
Diffstat (limited to 'indra/llui/llviewquery.cpp')
-rw-r--r--indra/llui/llviewquery.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/llui/llviewquery.cpp b/indra/llui/llviewquery.cpp
index 1b44cc528e..bdb3d223a6 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.splice(filtered_children.end(), indiv_children);
- }
+ iter != views.end();
+ iter++)
+ {
+ viewList_t indiv_children = this->run(*iter);
+ filtered_children.insert(filtered_children.end(), indiv_children.begin(), indiv_children.end());
+ }
}
filterResult_t LLViewQuery::runFilters(LLView * view, const viewList_t children, const filterList_t filters) const