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:
John Beard 2018-06-11 18:13:15 +01:00 committed by Seth Hillbrand
parent 8a2639325d
commit 0555bbc656
1 changed files with 1 additions and 0 deletions

View File

@ -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 );