fix gap layers

This commit is contained in:
Stewart Allen 2021-02-15 01:09:31 -05:00
commit 1c2b1c2220
2 changed files with 4 additions and 2 deletions

View file

@ -201,7 +201,7 @@
continue;
}
for (let pslice of peer.slices) {
if (Math.abs(pslice.z - slice.z) > gap) {
if (Math.abs(Math.abs(pslice.z - slice.z) - gap) > 0.05) {
continue;
}
// offset pslice tops by spro.sliceSupportOffset