Pcbnew: fix outline drawing of PTH pads

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21448
This commit is contained in:
John Beard 2025-08-07 21:15:26 +08:00
parent 0fccd846e6
commit 6bdfe2bce6

View File

@ -1495,7 +1495,9 @@ void PCB_PAINTER::draw( const PAD* aPad, int aLayer )
outline_mode = false; outline_mode = false;
} }
if( outline_mode ) // Plated holes are always filled as they use a solid BG fill to
// draw the "hole" over the hole-wall segment/circle.
if( outline_mode && aLayer != LAYER_PAD_PLATEDHOLES )
{ {
// Outline mode // Outline mode
m_gal->SetIsFill( false ); m_gal->SetIsFill( false );