From 3b0ae838fee98cc6de40ea5ccedb7f02aaf75845 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Fri, 1 Nov 2024 20:52:47 +0300 Subject: [PATCH] Use SCH_SHAPE for bezier symbol shape in EasyEDA/LCEDA Pro parser. Fixes commit 066461cd1e0ef3215098ae79522aa893b6d1b4f8 for master --- eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp b/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp index 9e23f470ad..d960622893 100644 --- a/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp +++ b/eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp @@ -495,8 +495,7 @@ SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector& aLines, std::vector points = line.at( 2 ); wxString styleStr = line.at( 3 ); - std::unique_ptr shape = - std::make_unique( ksymbol, SHAPE_T::BEZIER ); + auto shape = std::make_unique( SHAPE_T::BEZIER, LAYER_DEVICE ); for( size_t i = 1; i < points.size(); i += 2 ) {