PyBullet.SHARED_MEMORY_SERVER, use secondary key for server

This commit is contained in:
Erwin Coumans
2018-05-07 16:01:38 -07:00
parent 7383843b24
commit 7bc85c7d43

View File

@@ -283,7 +283,7 @@ B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerFromExistin
bool useInprocessMemory = false;
bool skipGraphicsUpdate = true;
InProcessPhysicsClientExistingExampleBrowser* cl = new InProcessPhysicsClientExistingExampleBrowser(guiHelper, useInprocessMemory, skipGraphicsUpdate);
cl->setSharedMemoryKey(SHARED_MEMORY_KEY+1);
cl->connect();
return (b3PhysicsClientHandle ) cl;
}