Use SCH_SHAPE for bezier symbol shape in EasyEDA/LCEDA Pro parser.
Fixes commit 066461cd1e for master
This commit is contained in:
@@ -495,8 +495,7 @@ SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector<nlohmann::json>& aLines,
|
||||
std::vector<double> points = line.at( 2 );
|
||||
wxString styleStr = line.at( 3 );
|
||||
|
||||
std::unique_ptr<LIB_SHAPE> shape =
|
||||
std::make_unique<LIB_SHAPE>( ksymbol, SHAPE_T::BEZIER );
|
||||
auto shape = std::make_unique<SCH_SHAPE>( SHAPE_T::BEZIER, LAYER_DEVICE );
|
||||
|
||||
for( size_t i = 1; i < points.size(); i += 2 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user