router: walkaround algo should not copy the previous via position when the current iteration via placement fails.
fixes: 7827
This commit is contained in:
parent
af2e163890
commit
fcb89b99a3
|
@ -532,6 +532,10 @@ bool LINE_PLACER::rhWalkOnly( const VECTOR2I& aP, LINE& aNewHead )
|
||||||
{
|
{
|
||||||
LINE initTrack( m_head );
|
LINE initTrack( m_head );
|
||||||
LINE walkFull( m_head );
|
LINE walkFull( m_head );
|
||||||
|
|
||||||
|
initTrack.RemoveVia();
|
||||||
|
walkFull.RemoveVia();
|
||||||
|
|
||||||
int effort = 0;
|
int effort = 0;
|
||||||
bool viaOk = false;
|
bool viaOk = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue