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

This commit is contained in:
Xuchen Han
2019-11-08 16:54:02 -08:00
parent e66982d658
commit 362bc6d9a3
5 changed files with 127 additions and 8 deletions

View File

@@ -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
}
}