temporarily disable cleaning on open lines

This commit is contained in:
casperlamboo 2017-10-05 14:19:57 +02:00
parent abde14fb4a
commit 574072c1bd

View File

@ -18,8 +18,10 @@ export default function shapesToSlices(shapes, settings) {
lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true) lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true)
.clean(1); .clean(1);
lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true) lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true);
.clean(1); // .clean(1);
// TODO
// Enable cleaning when https://sourceforge.net/p/jsclipper/tickets/24/ is fixed
const slice = new Slice(); const slice = new Slice();