Loading pcbnew/class_module.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -595,7 +595,7 @@ D_PAD* MODULE::GetPad( const wxPoint& aPosition, LSET aLayerMask ) for( D_PAD* pad = m_Pads; pad; pad = pad->Next() ) { // ... and on the correct layer. if( ( pad->GetLayerSet() & aLayerMask ) == 0 ) if( !( pad->GetLayerSet() & aLayerMask ).any() ) continue; if( pad->HitTest( aPosition ) ) Loading pcbnew/class_zone.h +1 −1 Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public: */ bool IsOnCopperLayer() const { return LSET::AllNonCuMask()[GetLayer()]; return IsCopperLayer( GetLayer() ); } /// How to fill areas: 0 = use filled polygons, 1 => fill with segments. Loading Loading
pcbnew/class_module.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -595,7 +595,7 @@ D_PAD* MODULE::GetPad( const wxPoint& aPosition, LSET aLayerMask ) for( D_PAD* pad = m_Pads; pad; pad = pad->Next() ) { // ... and on the correct layer. if( ( pad->GetLayerSet() & aLayerMask ) == 0 ) if( !( pad->GetLayerSet() & aLayerMask ).any() ) continue; if( pad->HitTest( aPosition ) ) Loading
pcbnew/class_zone.h +1 −1 Original line number Diff line number Diff line Loading @@ -183,7 +183,7 @@ public: */ bool IsOnCopperLayer() const { return LSET::AllNonCuMask()[GetLayer()]; return IsCopperLayer( GetLayer() ); } /// How to fill areas: 0 = use filled polygons, 1 => fill with segments. Loading