Renamed D_PAD::{Set,Get}PadName() to D_PAD::{Set,Get}Name()
This commit is contained in:
@@ -80,7 +80,7 @@ void BRDITEMS_PLOTTER::PlotPad( D_PAD* aPad, COLOR4D aColor, EDA_DRAW_MODE_T aPl
|
||||
gbr_metadata.SetCopper( true );
|
||||
|
||||
if( isOnExternalCopperLayer )
|
||||
gbr_metadata.SetPadName( aPad->GetPadName() );
|
||||
gbr_metadata.SetPadName( aPad->GetName() );
|
||||
|
||||
gbr_metadata.SetNetName( aPad->GetNetname() );
|
||||
|
||||
@@ -88,7 +88,7 @@ void BRDITEMS_PLOTTER::PlotPad( D_PAD* aPad, COLOR4D aColor, EDA_DRAW_MODE_T aPl
|
||||
// when this is the case, they have no pad name and/or are not plated.
|
||||
// In this case gerber files have slightly different attributes.
|
||||
if( aPad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED ||
|
||||
aPad->GetPadName().IsEmpty() )
|
||||
aPad->GetName().IsEmpty() )
|
||||
gbr_metadata.m_NetlistMetadata.m_NotInNet = true;
|
||||
|
||||
if( !isOnExternalCopperLayer || !isPadOnBoardTechLayers )
|
||||
|
||||
Reference in New Issue
Block a user