fix hasStock check. default to GridLocal for OctoPrint
This commit is contained in:
parent
931a14dc81
commit
d2bac2f858
2 changed files with 3 additions and 3 deletions
|
|
@ -603,9 +603,9 @@
|
||||||
autoLayout: true,
|
autoLayout: true,
|
||||||
alignTop: true,
|
alignTop: true,
|
||||||
units: "mm",
|
units: "mm",
|
||||||
exportOcto: true,
|
exportOcto: false,
|
||||||
exportGhost: false,
|
exportGhost: false,
|
||||||
exportLocal: false
|
exportLocal: true
|
||||||
},
|
},
|
||||||
// for passing temporary slice hints (topo currently)
|
// for passing temporary slice hints (topo currently)
|
||||||
synth: {},
|
synth: {},
|
||||||
|
|
|
||||||
|
|
@ -1806,7 +1806,7 @@
|
||||||
mode = 0,
|
mode = 0,
|
||||||
point,
|
point,
|
||||||
points = 0,
|
points = 0,
|
||||||
hasStock = spro.camStockZ && spro.camStockX && spro.camStockY,
|
hasStock = spro.camStockOffset || (spro.camStockZ && spro.camStockX && spro.camStockY),
|
||||||
zmax = hasStock ? settings.stock.z : bounds.max.z,
|
zmax = hasStock ? settings.stock.z : bounds.max.z,
|
||||||
runbox = {
|
runbox = {
|
||||||
max: { x:-Infinity, y:-Infinity, z:-Infinity},
|
max: { x:-Infinity, y:-Infinity, z:-Infinity},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue