From cc2a897e2b724c3ec2d213f81f55a35dec264a30 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 30 Jan 2022 09:08:21 +0100 Subject: [PATCH] very minor fix --- pcbnew/pcb_target.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcb_target.cpp b/pcbnew/pcb_target.cpp index d22e76d0b7..def9a8b015 100644 --- a/pcbnew/pcb_target.cpp +++ b/pcbnew/pcb_target.cpp @@ -171,9 +171,9 @@ void PCB_TARGET::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerBu PCB_SHAPE line1, line2; PCB_SHAPE circle( nullptr, SHAPE_T::CIRCLE ); line1.SetStart( VECTOR2I( -size, 0.0 ) ); - line1.SetEnd( VECTOR2D( size, 0.0 ) ); + line1.SetEnd( VECTOR2I( size, 0.0 ) ); line2.SetStart( VECTOR2I( 0.0, -size ) ); - line2.SetEnd( VECTOR2D( 0.0, size ) ); + line2.SetEnd( VECTOR2I( 0.0, size ) ); circle.SetEndX( radius ); if( GetShape() ) // shape x