Sketcher: Solver information: Bug fix

=====================================

When the solver converged (but did not succeed) or when the solver succeded but the solution is not OCC-valid, no error message was shown in the solver messages dialog.
This commit is contained in:
Abdullah Tahiri
2015-10-05 17:24:03 +02:00
committed by wmayer
parent 4fb15f2a1b
commit fc128d357d
4 changed files with 17 additions and 6 deletions

View File

@@ -2186,6 +2186,7 @@ int Sketch::solve(void)
GCSsys.undoSolution();
updateGeometry();
Base::Console().Warning("Invalid solution from %s solver.\n", solvername.c_str());
ret = GCS::SuccessfulSolutionInvalid;
}else
{
updateNonDrivingConstraints();