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:
parent
d0ea844557
commit
b95aa1aaf7
|
@ -98,6 +98,10 @@ DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME( KIWAY* aKiway, wxWindow* aPa
|
||||||
SetBoard( new BOARD() );
|
SetBoard( new BOARD() );
|
||||||
SetScreen( new PCB_SCREEN( GetPageSizeIU() ) );
|
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() );
|
LoadSettings( config() );
|
||||||
|
|
||||||
// Initialize grid id to a default value if not found in config or incorrect:
|
// Initialize grid id to a default value if not found in config or incorrect:
|
||||||
|
|
Loading…
Reference in New Issue