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