mirror of https://codeberg.org/topola/topola.git
fix(router/prenavmesh): Don't fillet-exclude origin and destination from prenavmesh
This commit is contained in:
parent
9fcd12e6e1
commit
71feedc6ce
|
|
@ -216,11 +216,10 @@ impl Prenavmesh {
|
||||||
// TODO: This method is simplistic and will obviously result in
|
// TODO: This method is simplistic and will obviously result in
|
||||||
// false positives in some cases, so in the future, instead of this,
|
// false positives in some cases, so in the future, instead of this,
|
||||||
// create a fillet compound type and check for compound membership.
|
// create a fillet compound type and check for compound membership.
|
||||||
if Self::is_fixed_dot_filleted(layout, dot) {
|
if node != origin.into()
|
||||||
// FIXME: anteroute dot may get skipped here, which
|
&& node != destination.into()
|
||||||
// results in a panic.
|
&& Self::is_fixed_dot_filleted(layout, dot)
|
||||||
assert_ne!(origin, dot);
|
{
|
||||||
assert_ne!(destination, dot);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue