7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 14:01:41 +00:00

Remove special-case for heat-sink pads.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18453
This commit is contained in:
Jeff Young 2024-09-02 12:40:58 +01:00
parent c7859e7ed7
commit d2b36cc38d

View File

@ -341,10 +341,6 @@ bool PAD::FlashLayer( int aLayer, bool aOnlyCheckIfPermitted ) const
if( GetAttribute() == PAD_ATTRIB::PTH && IsCopperLayer( aLayer ) )
{
/// Heat sink pads always get copper
if( GetProperty() == PAD_PROP::HEATSINK )
return true;
PADSTACK::UNCONNECTED_LAYER_MODE mode = m_padStack.UnconnectedLayerMode();
if( mode == PADSTACK::UNCONNECTED_LAYER_MODE::KEEP_ALL )