cvpcb: don't show board-level soldermask

Only show soldermask in cvpcb if it was defined in the footprint or pad,
not the board defaults.
This commit is contained in:
Seth Hillbrand 2018-08-28 17:00:27 -07:00
parent d0ea844557
commit b95aa1aaf7
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME( KIWAY* aKiway, wxWindow* aPa
SetBoard( new BOARD() );
SetScreen( new PCB_SCREEN( GetPageSizeIU() ) );
// Don't show the default board solder mask clearance. Only the
// footprint or pad clearance setting should be shown if it is not 0.
GetBoard()->GetDesignSettings().m_SolderMaskMargin = 0;
LoadSettings( config() );
// Initialize grid id to a default value if not found in config or incorrect: