fix routing up/over between part peninsulas
This commit is contained in:
parent
29c97a4908
commit
dac925aa3d
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@
|
|||
|
||||
// add shadow perimeter to terrain to catch outside moves off part
|
||||
let tabpoly = tabs ? tabs.map(tab => tab.poly) : [];
|
||||
let allpoly = POLY.union([...state.shadowTop.tops, ...tabpoly], 0, true);
|
||||
let allpoly = POLY.union([...state.shadowTop.tops, ...tabpoly, ...state.shadowTop.slice.shadow], 0, true);
|
||||
let shadowOff = maxToolDiam < 0 ? allpoly :
|
||||
POLY.offset(allpoly, [minToolDiam/2,maxToolDiam/2], { count: 2, flat: true });
|
||||
state.terrain.forEach(level => level.tops.appendAll(shadowOff));
|
||||
|
|
|
|||
Loading…
Reference in a new issue