use simplify('pftNonZero') instead of deprecated removeOverlap function

This commit is contained in:
casperlamboo 2017-05-12 13:44:55 +02:00 committed by Simon Voordouw
parent a9ae3b220e
commit b7ab01c39d

View File

@ -12,7 +12,7 @@ export default function shapesToSlices(shapes, settings) {
closedShapes = new Shape(closedShapes, true, true, false) closedShapes = new Shape(closedShapes, true, true, false)
.clean(CLEAN_DELTA) .clean(CLEAN_DELTA)
.fixOrientation() .fixOrientation()
.removeOverlap() .simplify('pftNonZero')
.seperateShapes(); .seperateShapes();
openShapes = new Shape(openShapes, false, true, false) openShapes = new Shape(openShapes, false, true, false)