mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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:
parent
143819d735
commit
dcb8f7f9c7
@ -1464,7 +1464,9 @@ void PCB_PAINTER::draw( const PAD* aPad, int aLayer )
|
||||
if( m_pcbSettings.m_ForcePadSketchModeOn )
|
||||
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
|
||||
m_gal->SetIsFill( false );
|
||||
|
Loading…
x
Reference in New Issue
Block a user