allow flatten only in belt mode

This commit is contained in:
Stewart Allen 2022-02-16 23:36:38 -05:00
commit d8fc75026b

View file

@ -209,7 +209,7 @@
let heights = [];
// handle z cutting (floor method) and base flattening
let zPress = process.firstLayerFlatten || 0;
let zPress = isBelt ? process.firstLayerFlatten || 0 : 0;
let zCut = widget.track.zcut || 0;
if (zCut || zPress) {
for (let p of points) {