PCB_POINT_EDITOR: fix missing init of PAD pos0 after changing the PAD draw pos.

Fixes #10558
https://gitlab.com/kicad/code/kicad/issues/10558
This commit is contained in:
jean-pierre charras 2022-01-22 10:23:55 +01:00
parent 65d4d6eada
commit 5449a92878
2 changed files with 2 additions and 1 deletions

View File

@ -441,7 +441,7 @@ void BITMAPCONV_INFO::createOutputData( BMP2CMP_MOD_LAYER aModLayer )
if(!m_Paths)
{
m_errors += "No path in black and white image: no outline created\n";
m_errors += "No shape in black and white image to convert: no outline created\n";
}
while( paths != nullptr )

View File

@ -1305,6 +1305,7 @@ void PCB_POINT_EDITOR::updateItem() const
pad->SetSize( padSize );
pad->SetPosition( VECTOR2I( ( left + right ) / 2, ( top + bottom ) / 2 ) );
pad->SetLocalCoord();
}
}
break;