Router: check layers of all traversed joints in FindLinesBetweenJoints(). (fixes lp:1531762)
This commit is contained in:
parent
ef87a0de54
commit
95252267ec
|
@ -885,6 +885,9 @@ int PNS_NODE::FindLinesBetweenJoints( PNS_JOINT& aA, PNS_JOINT& aB, std::vector<
|
|||
PNS_SEGMENT* seg = static_cast<PNS_SEGMENT*>( item );
|
||||
PNS_LINE line = AssembleLine( seg );
|
||||
|
||||
if ( !line.Layers().Overlaps( aB.Layers() ) )
|
||||
continue;
|
||||
|
||||
PNS_JOINT j_start, j_end;
|
||||
|
||||
FindLineEnds( line, j_start, j_end );
|
||||
|
|
Loading…
Reference in New Issue