Fix issue generating alternate shape
Boolean ops need boolean inputs.
This commit is contained in:
parent
e5198e7404
commit
686af65a9b
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue