Browse Source

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.
pull/13/head
Seth Hillbrand 7 years ago
parent
commit
b95aa1aaf7
  1. 4
      cvpcb/display_footprints_frame.cpp

4
cvpcb/display_footprints_frame.cpp

@ -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:

Loading…
Cancel
Save