diff --git a/eeschema/sch_plugins/altium/altium_parser_sch.cpp b/eeschema/sch_plugins/altium/altium_parser_sch.cpp index b2d6ad41f8..9ce7f4ed9b 100644 --- a/eeschema/sch_plugins/altium/altium_parser_sch.cpp +++ b/eeschema/sch_plugins/altium/altium_parser_sch.cpp @@ -346,8 +346,8 @@ ASCH_ROUND_RECTANGLE::ASCH_ROUND_RECTANGLE( const std::map& topRight = wxPoint( ReadKiCadUnitFrac( aProps, "CORNER.X" ), -ReadKiCadUnitFrac( aProps, "CORNER.Y" ) ); - topRight = wxPoint( ReadKiCadUnitFrac( aProps, "CORNERXRADIUS" ), - -ReadKiCadUnitFrac( aProps, "CORNERYRADIUS" ) ); + cornerradius = wxSize( ReadKiCadUnitFrac( aProps, "CORNERXRADIUS" ), + -ReadKiCadUnitFrac( aProps, "CORNERYRADIUS" ) ); lineWidth = ReadKiCadUnitFrac( aProps, "LINEWIDTH" ); isSolid = ALTIUM_PARSER::ReadBool( aProps, "ISSOLID", false );