Check for older tags in pcad import
The pourOutline/planeOutline do not include support for fillets Fixes https://gitlab.com/kicad/code/kicad/issues/11749
This commit is contained in:
parent
4d5b5d3791
commit
72b7f9fe10
|
@ -86,6 +86,10 @@ bool PCB_COPPER_POUR::Parse( XNODE* aNode, const wxString& aDefaultUnits,
|
|||
|
||||
lNode = FindNode( aNode, wxT( "pcbPoly" ) );
|
||||
|
||||
// If the pour doesn't have the newer `pcbPoly` tag, check for the older `pourOutline` tag
|
||||
if( !lNode )
|
||||
lNode = FindNode( aNode, wxT( "pourOutline" ) );
|
||||
|
||||
if( lNode )
|
||||
{
|
||||
// retrieve copper pour outline
|
||||
|
|
|
@ -71,6 +71,9 @@ bool PCB_PLANE::Parse( XNODE* aNode, const wxString& aDefaultUnits,
|
|||
|
||||
lNode = FindNode( aNode, wxT( "pcbPoly" ) );
|
||||
|
||||
if( !lNode )
|
||||
lNode = FindNode( aNode, wxT( "planeOutline" ) );
|
||||
|
||||
if( lNode )
|
||||
{
|
||||
// retrieve plane outline
|
||||
|
|
Loading…
Reference in New Issue