sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

[applications] unreachable code #3877

Open maddin200 opened 1 year ago

maddin200 commented 1 year ago

applications/plugins/PersistentContact/PersistentUnilateralInteractionConstraint.inl line 485 Code: template void PersistentUnilateralInteractionConstraint::draw(const core::visual::VisualParams* vparams) { return; if (!vparams->displayFlags().getShowInteractionForceFields()) return; // <-- unreachable

hugtalbot commented 1 year ago

Hi @maddin200

Never hesitate to make a PR for this ;) Thanks for your analysis :pray: