enable more unit tests in PyBullet.
return Py_None if no user data found, to pass the test. enable m_deterministicOverlappingPairs by default. if m_deterministicOverlappingPairs, sort the collision pairs.
This commit is contained in:
@@ -820,8 +820,8 @@ static PyObject* pybullet_getUserData(PyObject* self, PyObject* args, PyObject*
|
||||
|
||||
if (!b3GetUserData(sm, bodyUniqueId, linkIndex, userDataId, &value)) {
|
||||
|
||||
PyErr_SetString(SpamError, "Cannot get user data");
|
||||
return NULL;
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
if (value.m_type != USER_DATA_VALUE_TYPE_STRING)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user