Don't clean open shapes

This commit is contained in:
casperlamboo 2017-05-19 10:51:34 +02:00
parent 0d3ac6525c
commit a0aec2f4ad

View File

@ -17,8 +17,11 @@ export default function shapesToSlices(shapes, settings) {
.clean(cleanDelta) .clean(cleanDelta)
.seperateShapes(); .seperateShapes();
openShapes = new Shape(openShapes, false, true, true, true) openShapes = new Shape(openShapes, false, true, true, true);
.clean(cleanDelta); // .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(); const slice = new Slice();