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:
parent
65d4d6eada
commit
5449a92878
|
@ -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 )
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue