in line mode, use ghost shell to accentuate contours

This commit is contained in:
Stewart Allen 2022-01-26 12:22:39 -05:00
commit 6608d9d3d2

View file

@ -1119,6 +1119,7 @@
let process = settings.process, let process = settings.process,
device = settings.device, device = settings.device,
control = settings.controller,
isBelt = device.bedBelt, isBelt = device.bedBelt,
mode = settings.mode, mode = settings.mode,
now = Date.now(), now = Date.now(),
@ -1268,6 +1269,9 @@
if (scale === 1) { if (scale === 1) {
updateStackLabelState(); updateStackLabelState();
} }
if (control.lineType === 'line') {
$('render-ghost').onclick();
}
}); });
if (scale === 1) { if (scale === 1) {
API.show.progress(0); API.show.progress(0);
@ -1400,6 +1404,10 @@
} }
updateStackLabelState(); updateStackLabelState();
if (settings.controller.lineType === 'line') {
$('render-ghost').onclick();
}
// mark preview complete for export // mark preview complete for export
complete.preview = feature.pmode; complete.preview = feature.pmode;