checkpoint debug

This commit is contained in:
Stewart Allen 2020-03-15 14:24:43 -04:00
commit 64b8290abe
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -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' : ''}`);