Formatting & commenting.
This commit is contained in:
parent
8975f26c26
commit
053a0aade7
|
@ -79,13 +79,13 @@ enum PAD_DRILL_SHAPE_T
|
|||
*/
|
||||
enum class PAD_ATTRIB
|
||||
{
|
||||
PTH, ///< Plated through hole pad
|
||||
SMD, ///< Smd pad, appears on the solder paste layer (default)
|
||||
CONN, ///< Like smd, does not appear on the solder paste layer (default)
|
||||
///< note also has a special attribute in Gerber X files
|
||||
///< Used for edgecard connectors for instance
|
||||
NPTH, ///< like PAD_PTH, but not plated
|
||||
///< mechanical use only, no connection allowed
|
||||
PTH, ///< Plated through hole pad
|
||||
SMD, ///< Smd pad, appears on the solder paste layer (default)
|
||||
CONN, ///< Like smd, does not appear on the solder paste layer (default)
|
||||
///< Note: also has a special attribute in Gerber X files
|
||||
///< Used for edgecard connectors for instance
|
||||
NPTH, ///< like PAD_PTH, but not plated
|
||||
///< mechanical use only, no connection allowed
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ static void doPushPadProperties( BOARD& board, const PAD& aSrcPad, BOARD_COMMIT&
|
|||
continue;
|
||||
|
||||
if( aPadTypeFilter && ( pad->GetAttribute() != aSrcPad.GetAttribute() ) )
|
||||
continue;
|
||||
continue;
|
||||
|
||||
// Special-case for aperture pads
|
||||
if( aPadTypeFilter && pad->GetAttribute() == PAD_ATTRIB::CONN )
|
||||
|
|
Loading…
Reference in New Issue