PyBullet.SHARED_MEMORY_SERVER, use secondary key for server
This commit is contained in:
@@ -283,7 +283,7 @@ B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerFromExistin
|
|||||||
bool useInprocessMemory = false;
|
bool useInprocessMemory = false;
|
||||||
bool skipGraphicsUpdate = true;
|
bool skipGraphicsUpdate = true;
|
||||||
InProcessPhysicsClientExistingExampleBrowser* cl = new InProcessPhysicsClientExistingExampleBrowser(guiHelper, useInprocessMemory, skipGraphicsUpdate);
|
InProcessPhysicsClientExistingExampleBrowser* cl = new InProcessPhysicsClientExistingExampleBrowser(guiHelper, useInprocessMemory, skipGraphicsUpdate);
|
||||||
|
cl->setSharedMemoryKey(SHARED_MEMORY_KEY+1);
|
||||||
cl->connect();
|
cl->connect();
|
||||||
return (b3PhysicsClientHandle ) cl;
|
return (b3PhysicsClientHandle ) cl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user