Pcbnew fix: chamfered corners settings not copied with copy/paste pad properties
Fixes: lp:1819595 https://bugs.launchpad.net/kicad/+bug/1819595
This commit is contained in:
parent
6006703798
commit
23086deccd
|
@ -234,6 +234,7 @@ bool DIALOG_SHIM::Enable( bool enable )
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
const char* type_id = typeid( *this ).name();
|
const char* type_id = typeid( *this ).name();
|
||||||
printf( "wxDialog %s: %s\n", type_id, enable ? "enabled" : "disabled" );
|
printf( "wxDialog %s: %s\n", type_id, enable ? "enabled" : "disabled" );
|
||||||
|
fflush(0); //Needed on msys2 to immediately print the message
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return wxDialog::Enable( enable );
|
return wxDialog::Enable( enable );
|
||||||
|
|
|
@ -1485,6 +1485,8 @@ void D_PAD::ImportSettingsFromMaster( const D_PAD& aMasterPad )
|
||||||
SetDrillSize( aMasterPad.GetDrillSize() );
|
SetDrillSize( aMasterPad.GetDrillSize() );
|
||||||
SetDrillShape( aMasterPad.GetDrillShape() );
|
SetDrillShape( aMasterPad.GetDrillShape() );
|
||||||
SetRoundRectRadiusRatio( aMasterPad.GetRoundRectRadiusRatio() );
|
SetRoundRectRadiusRatio( aMasterPad.GetRoundRectRadiusRatio() );
|
||||||
|
SetChamferRectRatio( aMasterPad.GetChamferRectRatio() );
|
||||||
|
SetChamferPositions( aMasterPad.GetChamferPositions() );
|
||||||
|
|
||||||
switch( aMasterPad.GetShape() )
|
switch( aMasterPad.GetShape() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue