better tab routing
This commit is contained in:
parent
837f584907
commit
f6d1ba79fd
2 changed files with 8 additions and 1 deletions
|
|
@ -1228,8 +1228,10 @@
|
|||
if (d2l < mindist && d2l < d2f) {
|
||||
poly.reverse();
|
||||
found = {poly:poly, index:0, point:poly.first()};
|
||||
mindist = d2l;
|
||||
} else if (d2f < mindist) {
|
||||
found = {poly:poly, index:0, point:poly.first()};
|
||||
mindist = d2f;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue