Browse Source

Plotter: Don't restrict via width query to copper layers

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19458
pcb_db
Jon Evans 12 months ago
parent
commit
3364bd0a8b
  1. 2
      pcbnew/plot_board_layers.cpp

2
pcbnew/plot_board_layers.cpp

@ -635,7 +635,7 @@ void PlotStandardLayer( BOARD* aBoard, PLOTTER* aPlotter, LSET aLayerMask,
int diameter = 0;
for( PCB_LAYER_ID layer : LSET( aLayerMask & LSET::AllCuMask() ).Seq() )
for( PCB_LAYER_ID layer : aLayerMask.Seq() )
diameter = std::max( diameter, via->GetWidth( layer ) );
diameter += 2 * via_margin + width_adj;

Loading…
Cancel
Save