Embed graphics server (shared memory) in PyBullet. Use pybullet.connect(pybullet.GRAPHICS_SERVER) to enable it.

TODO: enable for Mac OSX on mainloop, add tcp bridges from and to shared memory.
This commit is contained in:
Erwin Coumans
2020-03-19 14:18:35 -07:00
parent d3fdf434ed
commit c06859723b
7 changed files with 164 additions and 30 deletions

View File

@@ -243,7 +243,7 @@ PhysicsClientSharedMemory::PhysicsClientSharedMemory()
PhysicsClientSharedMemory::~PhysicsClientSharedMemory()
{
if (m_data->m_isConnected)
if (m_data->m_isConnected)
{
disconnectSharedMemory();
}