| 537 | } |
| 538 | |
| 539 | void RadiantSelectionSystem::foreachBrush(const std::function<void(Brush&)>& functor) |
| 540 | { |
| 541 | BrushSelectionWalker walker(functor); |
| 542 | |
| 543 | for (auto i = _selection.begin(); i != _selection.end(); /* in-loop increment */) |
| 544 | { |
| 545 | walker.visit((i++)->first); // Handles group nodes recursively |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | void RadiantSelectionSystem::foreachFace(const std::function<void(IFace&)>& functor) |
| 550 | { |
no test coverage detected