fix registration depth for anchor and widget / stock deltas

This commit is contained in:
Stewart Allen 2021-01-30 19:48:18 -05:00
commit e06ad5e421
2 changed files with 9 additions and 4 deletions

View file

@ -544,6 +544,7 @@
}
let areas = (poppedRec.areas[widget.id] || []);
let stack = new KIRI.Stack(widget.mesh);
// console.log({match: areas, for: widget.id});
widget.trace_stack = stack;
widget.traces.forEach(poly => {
let match = areas.filter(arr => poly.matches(arr));