Don't deduplicate schematic polygon points
This commit is contained in:
parent
4cdc9d3857
commit
eb271ca7fb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue