Fix typo causing custom shaped pads to be flipped when opening the pad properties dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6180
This commit is contained in:
parent
d75151a847
commit
4ea8f29a43
|
@ -1528,7 +1528,7 @@ bool DIALOG_PAD_PROPERTIES::TransferDataFromWindow()
|
||||||
{
|
{
|
||||||
m_currentPad->SetLayerSet( FlipLayerMask( m_currentPad->GetLayerSet() ) );
|
m_currentPad->SetLayerSet( FlipLayerMask( m_currentPad->GetLayerSet() ) );
|
||||||
// flip custom pad shapes (up/down)
|
// flip custom pad shapes (up/down)
|
||||||
m_dummyPad->FlipPrimitives( false );
|
m_currentPad->FlipPrimitives( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_currentPad->SetLayerSet( m_padMaster->GetLayerSet() );
|
m_currentPad->SetLayerSet( m_padMaster->GetLayerSet() );
|
||||||
|
|
Loading…
Reference in New Issue