Fix a mistake in Altium parser
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10011
This commit is contained in:
parent
57af990066
commit
f2ad8bffe0
|
@ -346,8 +346,8 @@ ASCH_ROUND_RECTANGLE::ASCH_ROUND_RECTANGLE( const std::map<wxString, wxString>&
|
||||||
topRight = wxPoint( ReadKiCadUnitFrac( aProps, "CORNER.X" ),
|
topRight = wxPoint( ReadKiCadUnitFrac( aProps, "CORNER.X" ),
|
||||||
-ReadKiCadUnitFrac( aProps, "CORNER.Y" ) );
|
-ReadKiCadUnitFrac( aProps, "CORNER.Y" ) );
|
||||||
|
|
||||||
topRight = wxPoint( ReadKiCadUnitFrac( aProps, "CORNERXRADIUS" ),
|
cornerradius = wxSize( ReadKiCadUnitFrac( aProps, "CORNERXRADIUS" ),
|
||||||
-ReadKiCadUnitFrac( aProps, "CORNERYRADIUS" ) );
|
-ReadKiCadUnitFrac( aProps, "CORNERYRADIUS" ) );
|
||||||
|
|
||||||
lineWidth = ReadKiCadUnitFrac( aProps, "LINEWIDTH" );
|
lineWidth = ReadKiCadUnitFrac( aProps, "LINEWIDTH" );
|
||||||
isSolid = ALTIUM_PARSER::ReadBool( aProps, "ISSOLID", false );
|
isSolid = ALTIUM_PARSER::ReadBool( aProps, "ISSOLID", false );
|
||||||
|
|
Loading…
Reference in New Issue