Fix sloppy coding.

This commit is contained in:
Jeff Young 2023-10-26 10:43:21 +01:00
parent 2746626de0
commit 7bd6c9d623
1 changed files with 2 additions and 2 deletions

View File

@ -1748,10 +1748,10 @@ void ALTIUM_PCB::ParsePolygons6Data( const ALTIUM_COMPOUND_FILE& aAltiumPcbF
{ {
LAYER_T layerType = m_board->GetLayerType( layer ); LAYER_T layerType = m_board->GetLayerType( layer );
if( layerType == LT_POWER || LT_MIXED ) if( layerType == LT_POWER || layerType == LT_MIXED )
planeLayers++; planeLayers++;
if( layerType == LT_SIGNAL || LT_MIXED ) if( layerType == LT_SIGNAL || layerType == LT_MIXED )
signalLayers++; signalLayers++;
} }