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

This commit is contained in:
casperlamboo 2017-05-12 13:44:55 +02:00
parent e9c2f653bf
commit b7b2eff61b

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)