Pcbnew: fix outline drawing of PTH pads

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21448
(cherry picked from commit 6bdfe2bce6f464074180d79b1040c5f2a3b2ad2c)
This commit is contained in:
John Beard 2025-08-07 21:15:26 +08:00
parent 143819d735
commit dcb8f7f9c7

View File

@ -1464,7 +1464,9 @@ void PCB_PAINTER::draw( const PAD* aPad, int aLayer )
if( m_pcbSettings.m_ForcePadSketchModeOn ) if( m_pcbSettings.m_ForcePadSketchModeOn )
outline_mode = true; outline_mode = true;
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 );