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:
parent
c7859e7ed7
commit
d2b36cc38d
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user