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
|
|
@ -1806,7 +1806,7 @@
|
|||
mode = 0,
|
||||
point,
|
||||
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,
|
||||
runbox = {
|
||||
max: { x:-Infinity, y:-Infinity, z:-Infinity},
|
||||
|
|
|
|||
Loading…
Reference in a new issue