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
|
%extend PCB_SHAPE
|
||||||
{
|
{
|
||||||
double GetArcAngleStart()
|
EDA_ANGLE GetArcAngleStart()
|
||||||
{
|
{
|
||||||
EDA_ANGLE startAngle;
|
EDA_ANGLE startAngle;
|
||||||
EDA_ANGLE endAngle;
|
EDA_ANGLE endAngle;
|
||||||
$self->CalcArcAngles( startAngle, endAngle );
|
$self->CalcArcAngles( startAngle, endAngle );
|
||||||
return startAngle.AsTenthsOfADegree();
|
return startAngle;
|
||||||
}
|
}
|
||||||
|
|
||||||
%pythoncode
|
%pythoncode
|
||||||
|
|
Loading…
Reference in New Issue