Treat P-CAD copper polygons as very-high-priority zones.
In P-CAD they don't avoid other copper pours, so this should more accurately reflect that in Kicad. (Note that only the very-high- priority part is new; we've always coverted them to zones.) Fixes https://gitlab.com/kicad/code/kicad/issues/3997
This commit is contained in:
parent
4789794e0e
commit
b2ad9b5b83
|
@ -40,7 +40,12 @@ PCB_POLYGON::PCB_POLYGON( PCB_CALLBACKS* aCallbacks, BOARD* aBoard, int aPCadLay
|
|||
PCB_COMPONENT( aCallbacks, aBoard )
|
||||
{
|
||||
m_width = 0;
|
||||
m_priority = 0;
|
||||
|
||||
// P-CAD polygons are similar to zones (and we're going to convert them as such), except
|
||||
// that they don't avoid other copper pours. So effectively they're very-high-priority
|
||||
// zones.
|
||||
m_priority = 100000;
|
||||
|
||||
m_objType = wxT( 'Z' );
|
||||
m_PCadLayer = aPCadLayer;
|
||||
m_KiCadLayer = GetKiCadLayer();
|
||||
|
|
Loading…
Reference in New Issue