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
(cherry picked from commit 72b7f9fe10
)
This commit is contained in:
parent
6e50a3518f
commit
124bdb6673
|
@ -85,6 +85,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
|
||||
|
|
|
@ -70,6 +70,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