diff --git a/src/shape/shapeToPoints.js b/src/shape/shapeToPoints.js index bcfc049..57eb6c9 100644 --- a/src/shape/shapeToPoints.js +++ b/src/shape/shapeToPoints.js @@ -186,7 +186,7 @@ function shapeToPointsRaw(shapeData) { new ClipperShape([points, ...holes], true, true, false, false) .simplify('pftEvenOdd') .seperateShapes() - .map(shape => { + .forEach(shape => { const [points, ...holes] = shape .mapToLower() .map(pathToVectorPath)