Pass PCB display settings to PNS router tool
This allows the tool to set display options like the clearance. Fixes: lp:1766836 * https://bugs.launchpad.net/kicad/+bug/1766836
This commit is contained in:
parent
8a2639325d
commit
0555bbc656
|
@ -101,6 +101,7 @@ void TOOL_BASE::Reset( RESET_REASON aReason )
|
|||
m_iface->SetBoard( board() );
|
||||
m_iface->SetView( getView() );
|
||||
m_iface->SetHostTool( this );
|
||||
m_iface->SetDisplayOptions( (PCB_DISPLAY_OPTIONS*) frame()->GetDisplayOptions() );
|
||||
|
||||
m_router = new ROUTER;
|
||||
m_router->SetInterface( m_iface );
|
||||
|
|
Loading…
Reference in New Issue