From c2fdffba3581f79f0fdaefddfb58528eb38bb63c Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 17 May 2017 19:37:51 -0700 Subject: [PATCH] pybullet.enableJointForceTorqueSensor kwlist was not properly terminated --- examples/pybullet/pybullet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 275d93976..16d4ca70a 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -4560,7 +4560,7 @@ static PyObject* pybullet_enableJointForceTorqueSensor(PyObject* self, PyObject* b3PhysicsClientHandle sm = 0; int numJoints = -1; - static char* kwlist[] = {"bodyUniqueId", "jointIndex", "enableSensor", "physicsClientId"}; + static char* kwlist[] = {"bodyUniqueId", "jointIndex", "enableSensor", "physicsClientId",NULL}; if (!PyArg_ParseTupleAndKeywords(args, keywds, "ii|ii", kwlist, &bodyUniqueId, &jointIndex, &enableSensor, &physicsClientId)) {