prevent tabs from hover detection in tracing. heal open segments that share endpoints after tab cuts

This commit is contained in:
Stewart Allen 2020-12-02 18:05:31 -05:00
commit bd38764083
3 changed files with 47 additions and 2 deletions

View file

@ -833,7 +833,7 @@
}
return;
}
let area = poly.area();
let area = poly.open ? 1 : poly.area();
poly.forEachPoint(function(point, index) {
dist = opt.weight ?
startPoint.distTo3D(point) * area * area :