use new API b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3 (not 2)

This commit is contained in:
erwincoumans
2018-06-05 19:54:08 -07:00
parent 4615774150
commit 72d3f45b05

View File

@@ -399,7 +399,7 @@ static PyObject* pybullet_connectPhysicsServer(PyObject* self, PyObject* args, P
}
case eCONNECT_SHARED_MEMORY_SERVER:
{
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect2(0, key);
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3(0, key);
break;
}
case eCONNECT_DIRECT: