EEschema polylines aren't closed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18262
This commit is contained in:
@@ -578,7 +578,10 @@ void SCH_SHAPE::AddPoint( const VECTOR2I& aPosition )
|
||||
if( GetShape() == SHAPE_T::POLY )
|
||||
{
|
||||
if( m_poly.IsEmpty() )
|
||||
{
|
||||
m_poly.NewOutline();
|
||||
m_poly.Outline( 0 ).SetClosed( false );
|
||||
}
|
||||
|
||||
m_poly.Outline( 0 ).Append( aPosition, true );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user