Don't clean open shapes

This commit is contained in:
casperlamboo 2017-05-19 10:51:34 +02:00 committed by Simon Voordouw
parent ba2467b923
commit ca7c02c0d7

View File

@ -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();