From fd90589cc2337d503c1c1e688fb04afbffd75f1f Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Thu, 10 Nov 2016 15:44:03 -0800 Subject: [PATCH] disable dead code --- examples/SharedMemory/PhysicsServerCommandProcessor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 28ed1a81d..68f30944a 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -4083,6 +4083,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets() } //directly set the position of the links, only for debugging IK, don't use this method! +#if 0 if (0) { for (int i=0;igetNumLinks();i++) @@ -4091,6 +4092,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets() mb->setJointPosMultiDof(i,&desiredPosition); } } else +#endif { int numMotors = 0; //find the joint motors and apply the desired velocity and maximum force/torque