Fix issue generating alternate shape

Boolean ops need boolean inputs.
This commit is contained in:
Seth Hillbrand 2020-08-22 08:04:03 -07:00
parent e5198e7404
commit 686af65a9b
1 changed files with 2 additions and 1 deletions

View File

@ -622,7 +622,8 @@ std::unique_ptr<PNS::SOLID> PNS_KICAD_IFACE_BASE::syncPad( D_PAD* aPad )
std::unique_ptr< PNS::SOLID > solid( new PNS::SOLID );
if( aPad->GetAttribute() == PAD_ATTRIB_STANDARD || PAD_ATTRIB_HOLE_NOT_PLATED )
if( aPad->GetAttribute() == PAD_ATTRIB_STANDARD ||
aPad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED )
solid->SetAlternateShape( aPad->GetEffectiveHoleShape()->Clone() );
if( aPad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED )