use foreach function
This commit is contained in:
parent
2f1c6da5e1
commit
c580d4e5b8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue