fix bug where fdm driver was overriding origin center in cam mode

This commit is contained in:
Stewart Allen 2020-06-19 13:55:20 -04:00
commit f2d862df1e
4 changed files with 3 additions and 8 deletions

View file

@ -46,6 +46,7 @@
function init(kiri, api) {
api.event.on("settings.load", (settings) => {
if (settings.mode !== 'FDM') return;
settings.process.outputOriginCenter = (settings.device.originCenter || false);
});
api.event.on("settings.saved", (settings) => {