mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
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
Block a user