From ca7c02c0d76a3aa8d0805295d78ad447eb7c808f Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Fri, 19 May 2017 10:51:34 +0200 Subject: [PATCH] Don't clean open shapes --- src/sliceActions/shapesToSlices.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sliceActions/shapesToSlices.js b/src/sliceActions/shapesToSlices.js index 14d2296..615d242 100644 --- a/src/sliceActions/shapesToSlices.js +++ b/src/sliceActions/shapesToSlices.js @@ -17,8 +17,11 @@ export default function shapesToSlices(shapes, settings) { .clean(cleanDelta) .seperateShapes(); - openShapes = new Shape(openShapes, false, true, true, true) - .clean(cleanDelta); + openShapes = new Shape(openShapes, false, true, true, true); + // .clean(cleanDelta); + // TODO + // Cleaning is actually wanted here but there is a bug in the clean function + // https://sourceforge.net/p/jsclipper/tickets/16/ const slice = new Slice();