P-CAD: Support Rounded Rect import
The P-CAD import supports rounded rectangles but doesn't allow modification of the radius.
This commit is contained in:
parent
ae6fbc9c60
commit
6af21703fe
|
@ -265,9 +265,10 @@ void PCB_PAD::AddToModule( MODULE* aModule, int aRotation, bool aEncapsulatedPad
|
|||
else
|
||||
pad->SetShape( PAD_SHAPE_CIRCLE );
|
||||
}
|
||||
else if( padShapeName == wxT( "Rect" )
|
||||
|| padShapeName == wxT( "RndRect" ) )
|
||||
else if( padShapeName == wxT( "Rect" ) )
|
||||
pad->SetShape( PAD_SHAPE_RECT );
|
||||
else if( padShapeName == wxT( "RndRect" ) )
|
||||
pad->SetShape( PAD_SHAPE_ROUNDRECT );
|
||||
else if( padShapeName == wxT( "Polygon" ) )
|
||||
pad->SetShape( PAD_SHAPE_RECT ); // approximation
|
||||
|
||||
|
|
Loading…
Reference in New Issue