Fix via layer test for DXF plotting
Vias might have their primary layer set to a single layer but cross multiple layers that should be included when plotting Fixes https://gitlab.com/kicad/code/kicad/-/issues/18282
This commit is contained in:
parent
dc2a63d146
commit
64c36e8bda
|
@ -803,7 +803,7 @@ void PlotLayerOutlines( BOARD* aBoard, PLOTTER* aPlotter, LSET aLayerMask,
|
|||
|
||||
const PCB_VIA* via = static_cast<const PCB_VIA*>( track );
|
||||
|
||||
if( via->IsOnLayer( layer ) ) // via holes can be not through holes
|
||||
if( via->GetLayerSet().Contains( layer ) ) // via holes can be not through holes
|
||||
aPlotter->Circle( via->GetPosition(), via->GetDrillValue(), FILL_T::NO_FILL );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue