Fix edit point ordering for arcs in symbol editor.

Was fixed for SCH_SHAPE in f6994702aa
but 8.0 uses LIB_SHAPE for symbols.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18307
This commit is contained in:
Alex Shvartzkop 2024-06-30 18:07:49 +03:00
parent 6b6aa84158
commit 697ff382f8
1 changed files with 1 additions and 1 deletions

View File

@ -106,9 +106,9 @@ public:
switch( shape->GetShape() )
{
case SHAPE_T::ARC:
points->AddPoint( mapCoords( shape->GetPosition() ) );
points->AddPoint( mapCoords( shape->GetStart() ) );
points->AddPoint( mapCoords( shape->GetEnd() ) );
points->AddPoint( mapCoords( shape->GetPosition() ) );
break;
case SHAPE_T::CIRCLE: