Skip to content

Commit

Permalink
+ make sure that Sketch.clear() doesn't allow any arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed May 26, 2015
1 parent b5ff8cd commit a2bdc36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mod/Sketcher/App/SketchPyImp.cpp
Expand Up @@ -141,8 +141,11 @@ PyObject* SketchPy::addConstraint(PyObject *args)

PyObject* SketchPy::clear(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;

getSketchPtr()->clear();

Py_RETURN_NONE;
}

Expand Down

0 comments on commit a2bdc36

Please sign in to comment.