router: remeber to make a shove lockpoint when placing a lone via
Note to self: works around a possible bug in CommitPlacement()/RewindToLastLockedNode() fixes: https://gitlab.com/kicad/code/kicad/-/issues/9695
This commit is contained in:
parent
c1703212dc
commit
c40e921cb3
|
@ -1290,7 +1290,10 @@ bool LINE_PLACER::FixRoute( const VECTOR2I& aP, ITEM* aEndItem, bool aForceFinis
|
||||||
///< @todo Determine what to do if m_lastNode is a null pointer. I'm guessing return
|
///< @todo Determine what to do if m_lastNode is a null pointer. I'm guessing return
|
||||||
///< false but someone with more knowledge of the code will need to determine that..
|
///< false but someone with more knowledge of the code will need to determine that..
|
||||||
if( m_lastNode )
|
if( m_lastNode )
|
||||||
|
{
|
||||||
m_lastNode->Add( Clone( pl.Via() ) );
|
m_lastNode->Add( Clone( pl.Via() ) );
|
||||||
|
m_shove->AddLockedSpringbackNode( m_lastNode );
|
||||||
|
}
|
||||||
|
|
||||||
m_currentNode = nullptr;
|
m_currentNode = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue