Suppress unflashed annular rings only when copper layer is primary.

Fixes https://gitlab.com/kicad/code/kicad/issues/13471
This commit is contained in:
Jeff Young 2023-01-11 18:15:07 +00:00
parent c85dcbc4e1
commit 096cc7a5ad
1 changed files with 6 additions and 2 deletions

View File

@ -316,7 +316,9 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
if( !pad->FlashLayer( primary ) )
{
isActive = false;
hide = true;
if( IsCopperLayer( primary ) )
hide = true;
}
if( m_PadEditModePad && pad != m_PadEditModePad )
@ -347,7 +349,9 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
if( !via->FlashLayer( primary ) )
{
isActive = false;
hide = true;
if( IsCopperLayer( primary ) )
hide = true;
}
break;