+ change warnings to log messages for 0.12 release

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5156 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
logari81 2011-11-22 18:33:06 +00:00
parent 5a94eed5c0
commit 3b4dde6799

View File

@ -1404,15 +1404,15 @@ int Sketch::solve()
if (valid_solution) {
if (soltype == 1)
Base::Console().Warning("Important: the LevenbergMarquardt solver succeeded where the DogLeg solver had failed.\n");
Base::Console().Log("Important: the LevenbergMarquardt solver succeeded where the DogLeg solver had failed.\n");
else if (soltype == 2)
Base::Console().Warning("Important: the BFGS solver succeeded where the DogLeg and LevenbergMarquardt solvers have failed.\n");
Base::Console().Log("Important: the BFGS solver succeeded where the DogLeg and LevenbergMarquardt solvers have failed.\n");
else if (soltype == 3)
Base::Console().Warning("Important: the SQP solver succeeded where all single subsystem solvers have failed.\n");
Base::Console().Log("Important: the SQP solver succeeded where all single subsystem solvers have failed.\n");
if (soltype > 0) {
Base::Console().Warning("If you see this message please report a way of reproducing this result at\n");
Base::Console().Warning("https://sourceforge.net/apps/mantisbt/free-cad/main_page.php\n");
Base::Console().Log("If you see this message please report a way of reproducing this result at\n");
Base::Console().Log("https://sourceforge.net/apps/mantisbt/free-cad/main_page.php\n");
}
break;