diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2009-11-19 16:29:20 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2009-11-19 16:29:20 -0800 |
commit | c994b57fa483d09367546d27434c25a316d86fe0 (patch) | |
tree | 1c1c0b87553e18a48027bb41c9638c9cd20410f1 /indra/llui/llfloater.cpp | |
parent | cb8d2cb0ac0f60604a0698c6609615230d5b283d (diff) |
EXT-2490 Right click context menu for objects should include build tools
EXT-2541 Help > Report Abuse screenshot not showing up
EXT-2549 Crash on exit from mouse-look (Mini Map related)
EXT-2548 Viewer freezes when going out of the mouselook while there are more than two floaters
EXT-1983 [BSI] Trying to edit a script in a no mod object pops up script editor with "object out of range"
reviewed by Richard
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r-- | indra/llui/llfloater.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 2a0dcaf333..bf965e8e28 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -2526,8 +2526,12 @@ void LLFloaterView::pushVisibleAll(BOOL visible, const skip_list_t& skip_list) void LLFloaterView::popVisibleAll(const skip_list_t& skip_list) { - for (child_list_const_iter_t child_iter = getChildList()->begin(); - child_iter != getChildList()->end(); ++child_iter) + // make a copy of the list since some floaters change their + // order in the childList when changing visibility. + child_list_t child_list_copy = *getChildList(); + + for (child_list_const_iter_t child_iter = child_list_copy.begin(); + child_iter != child_list_copy.end(); ++child_iter) { LLView *view = *child_iter; if (skip_list.find(view) == skip_list.end()) |