From 7bc85c7d436e1953593f2ffcb00fd8dca70f1c57 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Mon, 7 May 2018 16:01:38 -0700 Subject: [PATCH] PyBullet.SHARED_MEMORY_SERVER, use secondary key for server --- examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp b/examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp index ff285ed7f..37b51fcd6 100644 --- a/examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp +++ b/examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp @@ -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; }