summaryrefslogtreecommitdiff
path: root/examples/RoboticsLearning
diff options
context:
space:
mode:
Diffstat (limited to 'examples/RoboticsLearning')
-rw-r--r--examples/RoboticsLearning/b3RobotSimAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/RoboticsLearning/b3RobotSimAPI.cpp b/examples/RoboticsLearning/b3RobotSimAPI.cpp
index f4ad1fcb5..a2ab15632 100644
--- a/examples/RoboticsLearning/b3RobotSimAPI.cpp
+++ b/examples/RoboticsLearning/b3RobotSimAPI.cpp
@@ -911,7 +911,7 @@ bool b3RobotSimAPI::connect(GUIHelperInterface* guiHelper)
else
{
PhysicsServerCommandProcessor* sdk = new PhysicsServerCommandProcessor;
- m_data->m_clientServerDirect = new PhysicsDirect(sdk);
+ m_data->m_clientServerDirect = new PhysicsDirect(sdk,true);
bool connected = m_data->m_clientServerDirect->connect(guiHelper);
m_data->m_physicsClient = (b3PhysicsClientHandle)m_data->m_clientServerDirect;