From: azv Date: Mon, 9 Oct 2017 09:19:08 +0000 (+0300) Subject: Issue #2271: Check conflict each time the set of constraints is being solved. X-Git-Tag: V_2.9.0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a023bd4f990ca05908c60a25c88fd8c143de7d4e;p=modules%2Fshaper.git Issue #2271: Check conflict each time the set of constraints is being solved. --- diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp index 75919af5f..b8d0dfe00 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp @@ -139,9 +139,7 @@ PlaneGCSSolver_Solver::SolveStatus PlaneGCSSolver_Solver::solve() aResult = (GCS::SolveStatus)myEquationSystem->solve(); } else { addFictiveConstraintIfNecessary(); - - if (myDiagnoseBeforeSolve) - diagnose(); + diagnose(); aResult = (GCS::SolveStatus)myEquationSystem->solve(myParameters); } Events_LongOp::end(this);