move layer retract from device into process settings

This commit is contained in:
Stewart Allen 2019-04-02 19:57:18 -07:00
commit ecd49aaaf3
2 changed files with 4 additions and 8 deletions

View file

@ -574,7 +574,7 @@ var gs_kiri_fdm = exports;
append("; --- layer " + layer + " (" + consts.height + " @ " + consts.z + ") ---");
}
if (layer > 0 && device.layerRetract) {
if (layer > 0 && process.layerRetract) {
retract();
}