Skip to content

Commit

Permalink
ensure the getCycleTime function returns a value
Browse files Browse the repository at this point in the history
  • Loading branch information
dubstar-04 committed Apr 23, 2020
1 parent 0c96f77 commit e99cf9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Path/App/PathPyImp.cpp
Expand Up @@ -193,8 +193,9 @@ 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));
return PyFloat_FromDouble(getToolpathPtr()->getCycleTime(hFeed, vFeed, hRapid, vRapid));
}
return 0;
}

// GCode methods
Expand Down

0 comments on commit e99cf9b

Please sign in to comment.