diff --git a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py index 3159fcb29..35f618cc8 100644 --- a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py +++ b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py @@ -27,6 +27,8 @@ class PyBulletDeepMimicEnv(Env): if not self._isInitialized: if self.enable_draw: self._pybullet_client = bullet_client.BulletClient(connection_mode=p1.GUI) + #disable 'GUI' since it slows down a lot on Mac OSX and some other platforms + self._pybullet_client.configureDebugVisualizer(self._pybullet_client.COV_ENABLE_GUI,0) else: self._pybullet_client = bullet_client.BulletClient()