Browse Source

Pcbnew: fix mistaken angle int cast in arc properties

pull/18/head
John Beard 3 months ago
parent
commit
2b69e118e0
  1. 2
      pcbnew/dialogs/dialog_shape_properties.cpp

2
pcbnew/dialogs/dialog_shape_properties.cpp

@ -493,7 +493,7 @@ public:
{
const VECTOR2I center{ GetIntValue( CSA_CENTER_X ), GetIntValue( CSA_CENTER_Y ) };
const VECTOR2I start{ GetIntValue( CSA_START_X ), GetIntValue( CSA_START_Y ) };
const EDA_ANGLE angle( GetIntValue( CSA_ANGLE ), DEGREES_T );
const EDA_ANGLE angle{ GetAngleValue( CSA_ANGLE ) };
GetShape().SetCenter( center );
GetShape().SetStart( start );

Loading…
Cancel
Save