Don't deduplicate schematic polygon points

This commit is contained in:
Seth Hillbrand 2022-01-07 08:29:34 -08:00
parent 4cdc9d3857
commit eb271ca7fb
1 changed files with 4 additions and 1 deletions

View File

@ -636,7 +636,10 @@ void EE_POINT_EDITOR::updateParentItem() const
shape->GetPolyShape().NewOutline();
for( unsigned i = 0; i < m_editPoints->PointsSize(); ++i )
shape->GetPolyShape().Append( m_editPoints->Point( i ).GetPosition() );
{
VECTOR2I pt = m_editPoints->Point( i ).GetPosition();
shape->GetPolyShape().Append( pt.x, pt.y, -1, -1, true );
}
break;