Skip to content

Commit

Permalink
Path.Area: fixed getShape with index
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Mar 23, 2017
1 parent d447257 commit b0e9d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/App/AreaPyImp.cpp
Expand Up @@ -218,7 +218,7 @@ PyObject* AreaPy::getShape(PyObject *args, PyObject *keywds)
PyObject *pcObj = Py_False;
short index=-1;
static char *kwlist[] = {"index","rebuild", NULL};
if (!PyArg_ParseTupleAndKeywords(args, keywds,"|hO",kwlist,&pcObj))
if (!PyArg_ParseTupleAndKeywords(args, keywds,"|hO",kwlist,&index,&pcObj))
return 0;

if(PyObject_IsTrue(pcObj))
Expand Down

0 comments on commit b0e9d4b

Please sign in to comment.