Browse Source

Pcbnew, printing vias: always print the via hole, even for small holes.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20546
revert-0c36e162
jean-pierre charras 9 months ago
parent
commit
91dda80530
  1. 2
      pcbnew/pcb_track.cpp

2
pcbnew/pcb_track.cpp

@ -1688,7 +1688,7 @@ double PCB_VIA::ViewGetLOD( int aLayer, const KIGFX::VIEW* aView ) const
}
// The hole won't be visible anyway at this scale
return (double) pcbIUScale.mmToIU( 0.25 ) / GetDrillValue();
return lodScaleForThreshold( aView, GetDrillValue(), pcbIUScale.mmToIU( 0.25 ) );
}
else if( IsNetnameLayer( aLayer ) )
{

Loading…
Cancel
Save