PNS_ROUTER: correctly handle NPTH pad layer sets.

This commit is contained in:
Tomasz Wlostowski 2015-07-22 13:49:53 +02:00 committed by Maciej Suminski
parent 83171482b3
commit 8752f46f07
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@ PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
if( lmsk[i] )
{
is_copper = true;
layers = PNS_LAYERSET( i );
if( aPad->GetAttribute() != PAD_HOLE_NOT_PLATED )
layers = PNS_LAYERSET( i );
break;
}
}