From 574072c1bda2a5076947d1c00792ab8285ac75f7 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 5 Oct 2017 14:19:57 +0200 Subject: [PATCH] temporarily disable cleaning on open lines --- src/sliceActions/shapesToSlices.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sliceActions/shapesToSlices.js b/src/sliceActions/shapesToSlices.js index 8c4699a..a6ace31 100644 --- a/src/sliceActions/shapesToSlices.js +++ b/src/sliceActions/shapesToSlices.js @@ -18,8 +18,10 @@ export default function shapesToSlices(shapes, settings) { lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true) .clean(1); - lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true) - .clean(1); + lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true); + // .clean(1); + // TODO + // Enable cleaning when https://sourceforge.net/p/jsclipper/tickets/24/ is fixed const slice = new Slice();