Only disable unflashed layers when they're conditionally flashed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16061
This commit is contained in:
parent
e6081cf31a
commit
d41f4ec842
|
@ -345,7 +345,7 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
|
|||
{
|
||||
const PAD* pad = static_cast<const PAD*>( item );
|
||||
|
||||
if( !pad->FlashLayer( primary ) )
|
||||
if( pad->IsOnLayer( primary ) && !pad->FlashLayer( primary ) )
|
||||
{
|
||||
isActive = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue