diff options
author | Erwin Coumans <erwincoumans@google.com> | 2017-02-21 17:53:49 -0800 |
---|---|---|
committer | Erwin Coumans <erwincoumans@google.com> | 2017-02-21 17:53:49 -0800 |
commit | 218f8832118943642b315fa935f57cdb8aab47d2 (patch) | |
tree | 40a91ced836aca694c02f983d885ee46a8553f10 /examples | |
parent | 926c83f2ab9ebe1c1412e4afa5440d873bff97d5 (diff) | |
download | bullet3-218f8832118943642b315fa935f57cdb8aab47d2.tar.gz |
make flag/enable required argument
update pybullet quickstart guide PDF from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pybullet/pybullet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 00ddec83f..6cd50d129 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -2966,7 +2966,7 @@ static PyObject* pybullet_configureDebugVisualizer(PyObject* self, PyObject* arg b3PhysicsClientHandle sm=0; 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)) return NULL; |