Non-visible layers are stored in the GPU so still have to be drawn.
Fixes https://gitlab.com/kicad/code/kicad/issues/12792
This commit is contained in:
parent
dd94b2d3a7
commit
396e220133
|
@ -1230,7 +1230,7 @@ void PCB_PAINTER::draw( const PAD* aPad, int aLayer )
|
|||
{
|
||||
drawShape = aPad->FlashLayer( m_pcbSettings.GetPrintLayers() );
|
||||
}
|
||||
else if( aPad->FlashLayer( board->GetVisibleLayers() & board->GetEnabledLayers() ) )
|
||||
else if( aPad->FlashLayer( board->GetEnabledLayers() ) )
|
||||
{
|
||||
drawShape = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue