From b7b2eff61bdb656f48ba6bc9faf1117051c16d21 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Fri, 12 May 2017 13:44:55 +0200 Subject: [PATCH] use simplify('pftNonZero') instead of deprecated removeOverlap function --- src/sliceActions/shapesToSlices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sliceActions/shapesToSlices.js b/src/sliceActions/shapesToSlices.js index 52de1ec..8dda129 100644 --- a/src/sliceActions/shapesToSlices.js +++ b/src/sliceActions/shapesToSlices.js @@ -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)