diff --git a/pcbnew/plugins/pcad/pcb_copper_pour.cpp b/pcbnew/plugins/pcad/pcb_copper_pour.cpp index 7a26985c00..c0db697d92 100644 --- a/pcbnew/plugins/pcad/pcb_copper_pour.cpp +++ b/pcbnew/plugins/pcad/pcb_copper_pour.cpp @@ -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 diff --git a/pcbnew/plugins/pcad/pcb_plane.cpp b/pcbnew/plugins/pcad/pcb_plane.cpp index 4591cde727..d596bbdfaf 100644 --- a/pcbnew/plugins/pcad/pcb_plane.cpp +++ b/pcbnew/plugins/pcad/pcb_plane.cpp @@ -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