fixes to allow cam processing with engine.html

This commit is contained in:
Stewart Allen 2021-09-27 11:28:07 -04:00
commit 7ea9f2a7ef
4 changed files with 30 additions and 4 deletions

View file

@ -54,8 +54,8 @@
let device = settings.device,
process = settings.process,
stock = settings.stock,
outer = settings.bounds,
stock = settings.stock || {},
outer = settings.bounds || widget.getPositionBox(),
outerz = outer.max.z,
slices = widget.slices,
hasStock = stock.x && stock.y && stock.z && process.camStockOn,