remove legacy cam slice options from fdm slicer. fix sla export

This commit is contained in:
Stewart Allen 2021-06-20 18:38:31 -04:00
commit 24546c8735
4 changed files with 30 additions and 105 deletions

View file

@ -485,12 +485,11 @@
function scaleMovePoly(poly) {
let points = poly.points;
let bounds = poly.bounds = BASE.newBounds();
poly._bounds = undefined;
for (let i=0, il=points.length; i<il; i++) {
let p = points[i];
p.y = height - (p.y * scaleY + height2);
p.x = p.x * scaleX + width2;
bounds.update(p);
}
if (poly.inner) {
for (let i=0, ia=poly.inner, il=poly.inner.length; i<il; i++) {