Browse Source

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
7.0
jean-pierre charras 4 years ago
parent
commit
5449a92878
  1. 2
      bitmap2component/bitmap2component.cpp
  2. 1
      pcbnew/tools/pcb_point_editor.cpp

2
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 )

1
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;

Loading…
Cancel
Save