Merge pull request #1314 from erwincoumans/master

fix return values in pybullet to be Pythonic.
This commit is contained in:
erwincoumans
2017-09-13 16:09:22 -07:00
committed by GitHub

View File

@@ -448,7 +448,7 @@ static PyObject* pybullet_connectPhysicsServer(PyObject* self, PyObject* args, P
sPhysicsClients1[freeIndex] = 0;
sPhysicsClientsGUI[freeIndex] = 0;
sNumPhysicsClients++;
return -1;
return PyInt_FromLong(-1);
}
}
}