mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Pad properties dlg: Clearing thermal relief override (gap/spoke) does not work
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20709
This commit is contained in:
parent
86b17f46de
commit
1af76a9bef
@ -1749,10 +1749,14 @@ bool DIALOG_PAD_PROPERTIES::transferDataToPad( PAD* aPad )
|
|||||||
else
|
else
|
||||||
aPad->SetLocalSolderPasteMarginRatio( m_pasteMarginRatio.GetDoubleValue() / 100.0 );
|
aPad->SetLocalSolderPasteMarginRatio( m_pasteMarginRatio.GetDoubleValue() / 100.0 );
|
||||||
|
|
||||||
if( !m_spokeWidth.IsNull() )
|
if( m_spokeWidth.IsNull() )
|
||||||
|
aPad->SetLocalThermalSpokeWidthOverride( {} );
|
||||||
|
else
|
||||||
aPad->SetLocalThermalSpokeWidthOverride( m_spokeWidth.GetIntValue() );
|
aPad->SetLocalThermalSpokeWidthOverride( m_spokeWidth.GetIntValue() );
|
||||||
|
|
||||||
if( !m_thermalGap.IsNull() )
|
if( m_thermalGap.IsNull() )
|
||||||
|
aPad->SetLocalThermalGapOverride( {} );
|
||||||
|
else
|
||||||
aPad->SetLocalThermalGapOverride( m_thermalGap.GetIntValue() );
|
aPad->SetLocalThermalGapOverride( m_thermalGap.GetIntValue() );
|
||||||
|
|
||||||
aPad->SetThermalSpokeAngle( m_spokeAngle.GetAngleValue() );
|
aPad->SetThermalSpokeAngle( m_spokeAngle.GetAngleValue() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user