Suppress unflashed annular rings only when copper layer is primary.
Fixes https://gitlab.com/kicad/code/kicad/issues/13471
This commit is contained in:
parent
c85dcbc4e1
commit
096cc7a5ad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue