+ make sure that Sketch.clear() doesn't allow any arguments
This commit is contained in:
parent
b5ff8cdc82
commit
a2bdc366f0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user