diff --git a/release.md b/release.md index 6456fe8d..5f04d58d 100644 --- a/release.md +++ b/release.md @@ -5,6 +5,7 @@ Full docs @ https://docs.grid.space/projects/kiri-moto # Release 3.6 +* threaded task and message passing performance improvements * refactor FDM supports and synthetic widgets to use more common code * allow FDM mixing of automatic and manual / detected supports * improve CAM animation speeds using shared array buffers diff --git a/src/geo/polygon.js b/src/geo/polygon.js index 1a9fe9a8..d6be990c 100644 --- a/src/geo/polygon.js +++ b/src/geo/polygon.js @@ -1448,9 +1448,9 @@ class Polygon { out = inout || []; out.push(poly.points.map(p => p.toClipper())); if (poly.inner) { - poly.inner.forEach(p => { - p.toClipper(out); - }); + for (let inner of poly.inner) { + inner.toClipper(out); + } } return out; }