Sync via/pad flashing for null boards
Pads return true by default and so should vias
This commit is contained in:
parent
110663d214
commit
bfa1661edf
|
@ -499,7 +499,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…
Reference in New Issue