pcbnew: Changing the track width while routing
When changing the track width, we need to allow that the track's route will change based on DRC, so force a move without changing position. Fixes: lp:1785057 * https://bugs.launchpad.net/kicad/+bug/1785057
This commit is contained in:
parent
558c38b5c5
commit
ff668968f3
|
@ -1228,5 +1228,9 @@ int ROUTER_TOOL::onTrackViaSizeChanged( const TOOL_EVENT& aEvent )
|
||||||
sizes.ImportCurrent( board()->GetDesignSettings() );
|
sizes.ImportCurrent( board()->GetDesignSettings() );
|
||||||
m_router->UpdateSizes( sizes );
|
m_router->UpdateSizes( sizes );
|
||||||
|
|
||||||
|
//Changing the track width can affect the placement, so call the
|
||||||
|
// move routine without changing the destination
|
||||||
|
m_router->Move( m_endSnapPoint, m_endItem );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue