fix z layer output height (manifested as first layer half height)

This commit is contained in:
Stewart Allen 2021-01-25 12:38:40 -05:00
commit 69eca2a031
2 changed files with 3 additions and 3 deletions

View file

@ -314,7 +314,7 @@
if (gcodeLayer && gcodeLayer.length) {
appendAllSub(gcodeLayer);
} else {
append(`;; --- layer ${layer} (${subst.height} @ ${subst.z}) ---`);
append(`;; --- layer ${layer} (${subst.height} @ ${subst.z.round(3)}) ---`);
}
if (layer > 0 && process.outputLayerRetract) {