PCB: introduce PCB_FIELD_T
This commit is contained in:
@@ -876,6 +876,12 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
|
||||
if( itemplotter.GetPlotValue() && footprint->Value().IsOnLayer( layer ) )
|
||||
plotFPTextItem( footprint->Value() );
|
||||
|
||||
for( const PCB_FIELD* field : footprint->Fields() )
|
||||
{
|
||||
if( field->IsOnLayer( layer ) )
|
||||
plotFPTextItem( static_cast<const PCB_TEXT&>( *field ) );
|
||||
}
|
||||
|
||||
for( const BOARD_ITEM* item : footprint->GraphicalItems() )
|
||||
{
|
||||
if( item->IsOnLayer( layer ) )
|
||||
|
||||
Reference in New Issue
Block a user