Pcbnew: improve footprint edge plot logic.

This commit is contained in:
Patrick Pereira 2016-04-18 11:48:39 -04:00 committed by Wayne Stambaugh
parent 8d8b357f45
commit b846a98199
1 changed files with 2 additions and 4 deletions

View File

@ -354,10 +354,8 @@ void BRDITEMS_PLOTTER::Plot_Edges_Modules()
{
EDGE_MODULE* edge = dyn_cast<EDGE_MODULE*>( item );
if( !edge || !m_layerMask[edge->GetLayer()] )
continue;
Plot_1_EdgeModule( edge );
if( edge && m_layerMask[edge->GetLayer()] )
Plot_1_EdgeModule( edge );
}
}
}