From 5449a928788774d90fcc1834bfe697132d972084 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 22 Jan 2022 10:23:55 +0100 Subject: [PATCH] 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 --- bitmap2component/bitmap2component.cpp | 2 +- pcbnew/tools/pcb_point_editor.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bitmap2component/bitmap2component.cpp b/bitmap2component/bitmap2component.cpp index 648064953a..e0c5d29c73 100644 --- a/bitmap2component/bitmap2component.cpp +++ b/bitmap2component/bitmap2component.cpp @@ -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 ) diff --git a/pcbnew/tools/pcb_point_editor.cpp b/pcbnew/tools/pcb_point_editor.cpp index fa64f52a13..3e843de780 100644 --- a/pcbnew/tools/pcb_point_editor.cpp +++ b/pcbnew/tools/pcb_point_editor.cpp @@ -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;