Eliminate angle as double in SWIG wrapper
Fixes https://gitlab.com/kicad/code/kicad/issues/13171
This commit is contained in:
parent
66e9d5c61c
commit
66c2462c7e
|
@ -12,12 +12,12 @@
|
|||
|
||||
%extend PCB_SHAPE
|
||||
{
|
||||
double GetArcAngleStart()
|
||||
EDA_ANGLE GetArcAngleStart()
|
||||
{
|
||||
EDA_ANGLE startAngle;
|
||||
EDA_ANGLE endAngle;
|
||||
$self->CalcArcAngles( startAngle, endAngle );
|
||||
return startAngle.AsTenthsOfADegree();
|
||||
return startAngle;
|
||||
}
|
||||
|
||||
%pythoncode
|
||||
|
|
Loading…
Reference in New Issue