From c39afa61cbf84f068173a2a23bd9af27ed50e0be Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 1 Jan 2020 20:27:27 -0800 Subject: [PATCH] revert bullet_client.py --- examples/pybullet/gym/pybullet_utils/bullet_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/gym/pybullet_utils/bullet_client.py b/examples/pybullet/gym/pybullet_utils/bullet_client.py index 832cee545..a477f5c4d 100644 --- a/examples/pybullet/gym/pybullet_utils/bullet_client.py +++ b/examples/pybullet/gym/pybullet_utils/bullet_client.py @@ -41,7 +41,7 @@ class BulletClient(object): def __getattr__(self, name): """Inject the client id into Bullet functions.""" attribute = getattr(pybullet, name) - + attribute = functools.partial(attribute, physicsClientId=self._client) if name=="disconnect": self._client = -1 return attribute