re enable applying and removing precision for open shapes

This commit is contained in:
casperlamboo 2017-05-26 16:56:05 +02:00 committed by Simon Voordouw
parent f0b23647bb
commit 4fb2caee53
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ export default function applyPrecision(shapes) {
const { closedShapes, openShapes } = shapes[i]; const { closedShapes, openShapes } = shapes[i];
scaleUpShape(closedShapes); scaleUpShape(closedShapes);
// scaleUpShape(openShapes); scaleUpShape(openShapes);
} }
} }

View File

@ -19,10 +19,9 @@ export default function removePrecision(slices) {
innerLine.scaleDown(inversePrecision); innerLine.scaleDown(inversePrecision);
} }
part.fill.scaleDown(inversePrecision); part.fill.scaleDown(inversePrecision);
} else {
part.shape.scaleDown(inversePrecision);
} }
// else {
// part.shape.scaleDown(inversePrecision);
// }
} }
if (slice.support !== undefined) { if (slice.support !== undefined) {