fix manual support show/hide because addbox/delbox contract changed

This commit is contained in:
Stewart Allen 2020-11-25 23:09:34 -05:00
commit 6736ee4776
3 changed files with 9 additions and 8 deletions

View file

@ -217,7 +217,7 @@
// prevent duplicate restore from repeated settings load calls
if (!sups[id]) {
pos.box = addbox(
{ x, y, z }, 0x0000dd, 'supp',
{ x, y, z }, 0x0000dd, id,
{ x:dw, y:dw, z:dh }, { group: widget.mesh }
);
pos.box.pillar = Object.assign({widget}, pos);