remove interrim fix, no longer needed

This commit is contained in:
Dick Hollenbeck 2013-03-27 08:33:24 -05:00
parent ccd0ab78f3
commit 50682ef2dc
1 changed files with 0 additions and 9 deletions

View File

@ -2153,15 +2153,6 @@ D_PAD* PCB_PARSER::parseD_PAD() throw( IO_ERROR, PARSE_ERROR )
case T_layers: case T_layers:
{ {
int layerMask = parseBoardItemLayersAsMask(); int layerMask = parseBoardItemLayersAsMask();
// 15-Nov-2012 before today, only the cu layers that were used were
// saved. After wildcard *.Cu support went into effect, this is no
// longer an issue, but in order to load the interrim s-expression files,
// turn on all Cu layers for thru hole pads. New files will not need this
// and eventually this code can be removed.
if( pad->GetAttribute() == PAD_STANDARD )
layerMask |= ALL_CU_LAYERS;
pad->SetLayerMask( layerMask ); pad->SetLayerMask( layerMask );
} }
break; break;