Code: Select all
d:\freecadgit\src\mod\path\app\pathpyimp.cpp(198): warning C4715: 'Path::PathPy::getCycleTime': not all control paths return a value
dubstar-04 wrote: .
sliptonic wrote: .
Code: Select all
d:\freecadgit\src\mod\path\app\pathpyimp.cpp(198): warning C4715: 'Path::PathPy::getCycleTime': not all control paths return a value
dubstar-04 wrote: .
sliptonic wrote: .
This is a silly oversight in the python declaration:uwestoehr wrote: ↑Thu Apr 23, 2020 1:10 am After git commit 8adadcf2c I get now this compilation warning:
Could you please have a look?
Code: Select all
PyObject* PathPy::getCycleTime(PyObject * args)
{
double hFeed, vFeed, hRapid, vRapid;
if (PyArg_ParseTuple(args, "dddd", &hFeed, &vFeed, &hRapid, &vRapid)){
return PyFloat_FromDouble(getToolpathPtr()->getCycleTime(hFeed, vFeed, hRapid, vRapid));
}
}
Confirmed fixed. Thanks.