mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Parallel loop for the statistics
This commit is contained in:
parent
6593421802
commit
4eb5d91a8f
2 changed files with 54 additions and 44 deletions
|
@ -347,9 +347,7 @@ inline std::vector<PolygonImpl> clipper_execute(
|
|||
|
||||
auto traverse = [&processPoly] (ClipperLib::PolyNode *node)
|
||||
{
|
||||
for(auto ch : node->Childs) {
|
||||
processPoly(ch);
|
||||
}
|
||||
for(auto ch : node->Childs) processPoly(ch);
|
||||
};
|
||||
|
||||
traverse(&result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue