Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
Some other very minor fixes.
This commit is contained in:
@@ -489,9 +489,7 @@ void HPGL_PLOTTER::FlashPadCircle( const wxPoint& pos, int diametre,
|
||||
DPOINT pos_dev = userToDeviceCoordinates( pos );
|
||||
|
||||
int delta = KiROUND( penDiameter - penOverlap );
|
||||
int radius = diametre / 2;
|
||||
|
||||
radius = ( diametre - KiROUND( penDiameter ) ) / 2;
|
||||
int radius = ( diametre - KiROUND( penDiameter ) ) / 2;
|
||||
|
||||
if( radius < 0 )
|
||||
radius = 0;
|
||||
|
||||
Reference in New Issue
Block a user