Commit 2318cead authored by Olivier Lantsoght's avatar Olivier Lantsoght

[Solvekin][Failing loop animation] Missing check on option to generate...

[Solvekin][Failing loop animation] Missing check on option to generate animation of loop closing procedure.
parent 1d970129
......@@ -47,6 +47,9 @@ int mbs_close_geo(MbsData *s, MbsAux *mbs_aux)
if (iter >= mbs_aux->MAX_NR_ITER) // Error management
{
mbs_msg("\t \t >CLOSE GEO> Impossible to close the geometry after %d iterations \n", iter);
if (mbs_aux->close_anim) {
mbs_anim_close_geo(s, mbs_aux);
}
mbs_anim_close_geo(s, mbs_aux);
return -50;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment