Pcbnew: improve footprint edge plot logic.
This commit is contained in:
parent
8d8b357f45
commit
b846a98199
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue