Change jointIndex to linkIndex in getLinkState error message.

This commit is contained in:
Benelot
2017-01-19 09:11:06 +01:00
parent 2bc787626e
commit d3305bb76f

View File

@@ -2054,7 +2054,7 @@ b3PhysicsClientHandle sm = 0;
return NULL; return NULL;
} }
if (linkIndex < 0) { if (linkIndex < 0) {
PyErr_SetString(SpamError, "getLinkState failed; invalid jointIndex"); PyErr_SetString(SpamError, "getLinkState failed; invalid linkIndex");
return NULL; return NULL;
} }