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)
.clean(CLEAN_DELTA)
.fixOrientation()
.removeOverlap()
.simplify('pftNonZero')
.seperateShapes();
openShapes = new Shape(openShapes, false, true, false)