Fix merge screw up.

This commit is contained in:
Jeff Young 2021-09-12 22:29:20 +01:00
parent 4f861e084d
commit 52f99e41e6
1 changed files with 2 additions and 4 deletions

View File

@ -1090,12 +1090,10 @@ void SCH_ALTIUM_PLUGIN::ParseBezier( const std::map<wxString, wxString>& aProper
bezier->SetUnit( elem.ownerpartid );
std::vector<wxPoint> pts;
for( size_t j = i; j < elem.points.size() && j < i + 4; j++ )
{
pts.push_back( GetRelativePosition( elem.points.at( j ) + m_sheetOffset,
symbol ) );
bezier->AddPoint( GetRelativePosition( elem.points.at( j ) + m_sheetOffset,
symbol ) );
}
bezier->SetWidth( elem.lineWidth );