make flag/enable required argument
update pybullet quickstart guide PDF from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
This commit is contained in:
Binary file not shown.
@@ -2966,7 +2966,7 @@ static PyObject* pybullet_configureDebugVisualizer(PyObject* self, PyObject* arg
|
|||||||
b3PhysicsClientHandle sm=0;
|
b3PhysicsClientHandle sm=0;
|
||||||
static char *kwlist[] = { "flag", "enable", "physicsClientId", NULL };
|
static char *kwlist[] = { "flag", "enable", "physicsClientId", NULL };
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, keywds, "|iii", kwlist,
|
if (!PyArg_ParseTupleAndKeywords(args, keywds, "ii|i", kwlist,
|
||||||
&flag, &enable, &physicsClientId))
|
&flag, &enable, &physicsClientId))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user