another fix for cnc in cli mode
This commit is contained in:
parent
a1cbcfc900
commit
300833ff11
1 changed files with 1 additions and 2 deletions
|
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
CAM.export = function(print, online) {
|
CAM.export = function(print, online) {
|
||||||
let widget = print.widgets[0];
|
let widget = print.widgets[0];
|
||||||
|
|
||||||
if (!widget) return;
|
if (!widget) return;
|
||||||
|
|
||||||
let i,
|
let i,
|
||||||
|
|
@ -48,7 +47,7 @@
|
||||||
mode,
|
mode,
|
||||||
point,
|
point,
|
||||||
points = 0,
|
points = 0,
|
||||||
stock = settings.stock,
|
stock = settings.stock || { },
|
||||||
hasStock = spro.camStockOn && stock.x && stock.y && stock.z,
|
hasStock = spro.camStockOn && stock.x && stock.y && stock.z,
|
||||||
ztOff = hasStock ? stock.z - widget.track.top : 0,
|
ztOff = hasStock ? stock.z - widget.track.top : 0,
|
||||||
bounds = widget.getBoundingBox(),
|
bounds = widget.getBoundingBox(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue