mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Sync via/pad flashing for null boards
Pads return true by default and so should vias (cherry picked from commit bfa1661edfe5ae45704ce0a4ca1bb68973153cca)
This commit is contained in:
parent
ce9bd780d1
commit
2f2e956921
@ -533,7 +533,7 @@ bool PCB_VIA::FlashLayer( int aLayer ) const
|
||||
const BOARD* board = GetBoard();
|
||||
|
||||
if( !board )
|
||||
return false;
|
||||
return true;
|
||||
|
||||
if( !IsOnLayer( static_cast<PCB_LAYER_ID>( aLayer ) ) )
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user