fix python get value rotation are a Long .

remove old check python >=3.5 -> freecad require python 3.6
This commit is contained in:
mos
2023-11-15 11:55:12 +01:00
committed by wwmayer
parent bd5cdc3bc1
commit 66070c662f
2 changed files with 1 additions and 3 deletions

View File

@@ -635,7 +635,7 @@ PyObject* RotationPy::number_power_handler(PyObject* self, PyObject* other, PyOb
}
Rotation a = static_cast<RotationPy*>(self)->value();
long b = Py::Int(other);
long b = Py::Long(other);
Vector3d axis;
double rfAngle {};