From 50682ef2dc4c5d0f8ef28ae5ea6f12c038c3682f Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Wed, 27 Mar 2013 08:33:24 -0500 Subject: [PATCH] remove interrim fix, no longer needed --- pcbnew/pcb_parser.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pcbnew/pcb_parser.cpp b/pcbnew/pcb_parser.cpp index 41c058383b..56a89a6989 100644 --- a/pcbnew/pcb_parser.cpp +++ b/pcbnew/pcb_parser.cpp @@ -2153,15 +2153,6 @@ D_PAD* PCB_PARSER::parseD_PAD() throw( IO_ERROR, PARSE_ERROR ) case T_layers: { 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 ); } break;