fix spurious gapped layers in fdm + path mode. fix wrong support menu showing in SLA mode

This commit is contained in:
Stewart Allen 2021-01-18 18:45:03 -05:00
commit 02ede29305
3 changed files with 7 additions and 4 deletions

View file

@ -232,7 +232,7 @@
}
}
} else {
cur.paths.push({ index, faces, z: poly.getZ() });
cur.paths.push({ index, faces, z: opts.z || poly.getZ() });
if (opts.color) {
cur.cpath = [ Object.assign({ start: 0, count: Infinity }, opts.color) ];
}