diff --git a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp index 99cb1b609f..e5f470b2b2 100644 --- a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp +++ b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp @@ -1090,12 +1090,10 @@ void SCH_ALTIUM_PLUGIN::ParseBezier( const std::map& aProper bezier->SetUnit( elem.ownerpartid ); - std::vector 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 );