Fix typos that would result in fp zone setting written into pads.
This commit is contained in:
parent
e38c366695
commit
54942a1401
|
@ -1601,7 +1601,7 @@ bool DIALOG_PAD_PROPERTIES::TransferDataFromWindow()
|
|||
m_currentPad->SetRoundRectRadiusRatio( m_padMaster->GetRoundRectRadiusRatio() );
|
||||
m_currentPad->SetChamferRectRatio( m_padMaster->GetChamferRectRatio() );
|
||||
m_currentPad->SetChamferPositions( m_padMaster->GetChamferPositions() );
|
||||
m_currentPad->SetZoneConnection( m_padMaster->GetEffectiveZoneConnection() );
|
||||
m_currentPad->SetZoneConnection( m_padMaster->GetZoneConnection() );
|
||||
|
||||
// rounded rect pads with radius ratio = 0 are in fact rect pads.
|
||||
// So set the right shape (and perhaps issues with a radius = 0)
|
||||
|
|
|
@ -1562,10 +1562,10 @@ void PCB_IO::format( const PAD* aPad, int aNestLevel ) const
|
|||
FormatInternalUnits( aPad->GetLocalClearance() ).c_str() );
|
||||
}
|
||||
|
||||
if( aPad->GetEffectiveZoneConnection() != ZONE_CONNECTION::INHERITED )
|
||||
if( aPad->GetZoneConnection() != ZONE_CONNECTION::INHERITED )
|
||||
{
|
||||
StrPrintf( &output, " (zone_connect %d)",
|
||||
static_cast<int>( aPad->GetEffectiveZoneConnection() ) );
|
||||
static_cast<int>( aPad->GetZoneConnection() ) );
|
||||
}
|
||||
|
||||
if( aPad->GetThermalSpokeWidth() != 0 )
|
||||
|
|
Loading…
Reference in New Issue