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,6 +316,8 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
|
||||||
if( !pad->FlashLayer( primary ) )
|
if( !pad->FlashLayer( primary ) )
|
||||||
{
|
{
|
||||||
isActive = false;
|
isActive = false;
|
||||||
|
|
||||||
|
if( IsCopperLayer( primary ) )
|
||||||
hide = true;
|
hide = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -347,6 +349,8 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
|
||||||
if( !via->FlashLayer( primary ) )
|
if( !via->FlashLayer( primary ) )
|
||||||
{
|
{
|
||||||
isActive = false;
|
isActive = false;
|
||||||
|
|
||||||
|
if( IsCopperLayer( primary ) )
|
||||||
hide = true;
|
hide = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue