Use SCH_SHAPE for bezier symbol shape in EasyEDA/LCEDA Pro parser.

Fixes commit 066461cd1e for master
This commit is contained in:
Alex Shvartzkop
2024-11-01 20:52:47 +03:00
parent 066461cd1e
commit 3b0ae838fe
@@ -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 )
{