+ make sure that Sketch.clear() doesn't allow any arguments

This commit is contained in:
wmayer 2015-05-26 13:11:48 +02:00
parent b5ff8cdc82
commit a2bdc366f0

View File

@ -141,6 +141,9 @@ PyObject* SketchPy::addConstraint(PyObject *args)
PyObject* SketchPy::clear(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;
getSketchPtr()->clear();
Py_RETURN_NONE;