fix compile issue pybullet on MSVC 2010

This commit is contained in:
erwincoumans 2016-09-03 09:53:21 -07:00
parent de5d1b5cfc
commit 630fcda38b

View File

@ -1124,6 +1124,7 @@ static PyObject* pybullet_getContactPointData(PyObject* self, PyObject* args)
struct b3ContactInformation contactPointData;
b3SharedMemoryStatusHandle statusHandle;
int statusType;
int i;
PyObject* pyResultList=0;
@ -1148,7 +1149,7 @@ static PyObject* pybullet_getContactPointData(PyObject* self, PyObject* args)
b3SetContactFilterBodyA(commandHandle,objectUniqueIdA);
b3SetContactFilterBodyB(commandHandle,objectUniqueIdB);
b3SubmitClientCommand(sm, commandHandle);
int i;
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, commandHandle);
statusType = b3GetStatusType(statusHandle);
if (statusType==CMD_CONTACT_POINT_INFORMATION_COMPLETED)