router: LINE::SetShape() should update the attached via position with the last point of the new line shape

This commit is contained in:
Tomasz Wlostowski 2022-10-27 00:13:50 +02:00
parent 3e67b42efd
commit 247922ca2d
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,11 @@ public:
{
m_line = aLine;
m_line.SetWidth( m_width );
if( m_hasVia && m_line.PointCount() > 0 )
{
m_via.SetPos( m_line.CPoint( -1 ) );
}
}
///< Return the shape of the line.