pns: Non-copper pads are not treated as obstacles.
This commit is contained in:
parent
03f7003c00
commit
6c4808bd49
|
@ -127,15 +127,20 @@ PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
|
|||
case PAD_CONN:
|
||||
{
|
||||
LSET lmsk = aPad->GetLayerSet();
|
||||
bool is_copper = false;
|
||||
|
||||
for( int i = 0; i < MAX_CU_LAYERS; i++ )
|
||||
{
|
||||
if( lmsk[i] )
|
||||
{
|
||||
is_copper = true;
|
||||
layers = PNS_LAYERSET( i );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( !is_copper )
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue