diff --git a/js/kiri-driver-cam.js b/js/kiri-driver-cam.js index b680205b..2c6cfbe1 100644 --- a/js/kiri-driver-cam.js +++ b/js/kiri-driver-cam.js @@ -1149,7 +1149,9 @@ var gs_kiri_cam = exports; newOutput.push(layerOut); layerOut = []; } - // console.log({index, zadd, zmax, bz:bounds.max.z}); + + // console.log({index, zadd, zmax, sz:stock.z, bz:bounds.max.z, oz:outer.max.z, at:alignTop}); + /** * @param {Point} point * @param {number} emit (0=move, !0=filament emit/laser on/cut mode) diff --git a/js/kiri-worker.js b/js/kiri-worker.js index 4be511a9..5a32846f 100644 --- a/js/kiri-worker.js +++ b/js/kiri-worker.js @@ -8,7 +8,7 @@ let loc = self.location, ver = exports.VERSION, time = function() { return new Date().getTime() }; host = loc.hostname, - debug = host === 'debug'; + debug = host === 'debug' || host === 'localhost'; console.log(`kiri | init work | ${ver}${debug ? ' | debug' : ''}`);