Don't scale up or scale down open shapes

This commit is contained in:
casperlamboo 2017-05-19 11:56:53 +02:00
parent e88e8804d2
commit 721b75b1f5
2 changed files with 4 additions and 3 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,9 +19,10 @@ 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) {