.kicad_pcb file: fix incorrect keyword stored for some (not all) PAD properties.
( a copy-paste error? ) Fixes #9102 https://gitlab.com/kicad/code/kicad/issues/9102
This commit is contained in:
parent
c1130535fb
commit
d2bff137ee
|
@ -1405,12 +1405,12 @@ void PCB_IO::format( const PAD* aPad, int aNestLevel ) const
|
|||
switch( aPad->GetProperty() )
|
||||
{
|
||||
case PAD_PROP::NONE: break; // could be "none"
|
||||
case PAD_PROP::BGA: property = "PAD_PROP::BGA"; break;
|
||||
case PAD_PROP::BGA: property = "pad_prop_bga"; break;
|
||||
case PAD_PROP::FIDUCIAL_GLBL: property = "pad_prop_fiducial_glob"; break;
|
||||
case PAD_PROP::FIDUCIAL_LOCAL: property = "pad_prop_fiducial_loc"; break;
|
||||
case PAD_PROP::TESTPOINT: property = "PAD_PROP::TESTPOINT"; break;
|
||||
case PAD_PROP::HEATSINK: property = "PAD_PROP::HEATSINK"; break;
|
||||
case PAD_PROP::CASTELLATED: property = "PAD_PROP::CASTELLATED"; break;
|
||||
case PAD_PROP::TESTPOINT: property = "pad_prop_testpoint"; break;
|
||||
case PAD_PROP::HEATSINK: property = "pad_prop_heatsink"; break;
|
||||
case PAD_PROP::CASTELLATED: property = "pad_prop_castellated"; break;
|
||||
|
||||
default:
|
||||
THROW_IO_ERROR( wxString::Format( "unknown pad property: %d", aPad->GetProperty() ) );
|
||||
|
|
Loading…
Reference in New Issue