fix the bug that prevents the pd control forces/torques being added

This commit is contained in:
Xuchen Han committed 2019-11-08 17:08:59 -08:00
1 parent e66982d658
commit 362bc6d9a3
5 files changed
+127 -8

No files matched your search

@@ -9261,8 +9261,7 @@ bool PhysicsServerCommandProcessor::processSendPhysicsParametersCommand(const st
{
}
};
#ifdef SKIP_DEFORMABLE_BODY
if (newSolver)
{
delete oldSolver;
@@ -9271,7 +9270,6 @@ bool PhysicsServerCommandProcessor::processSendPhysicsParametersCommand(const st
m_data->m_solver = newSolver;
printf("switched solver\n");
}
#endif
}
}