From: nds Date: Tue, 9 Feb 2016 09:23:26 +0000 (+0300) Subject: 2.17. Improved management of overconstraint situation: Undo correction: SOLVER_ERROR... X-Git-Tag: V_2.2.0~146 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b955a8c5621b94eddd2f8ab740404bc6d4a3887;p=modules%2Fshaper.git 2.17. Improved management of overconstraint situation: Undo correction: SOLVER_ERROR becomes empty by Undo, the signal about solver failed/repaired is not emitted The modification is approved by AZV. Scenario: create line, lenght, lenght, undo. BUG: the first length is still visualized in conflicted color. --- diff --git a/src/SketchSolver/SketchSolver_Manager.cpp b/src/SketchSolver/SketchSolver_Manager.cpp index 39662623d..eb30c034f 100644 --- a/src/SketchSolver/SketchSolver_Manager.cpp +++ b/src/SketchSolver/SketchSolver_Manager.cpp @@ -163,8 +163,8 @@ void SketchSolver_Manager::processEvent( } if (!(*aGroupIter)->isConsistent()) { // some constraints were removed, try to split the group (*aGroupIter)->splitGroup(aSeparatedGroups); - if (!(*aGroupIter)->getWorkplane()->string( - SketchPlugin_Sketch::SOLVER_ERROR())->value().empty()) + //if (!(*aGroupIter)->getWorkplane()->string( + // SketchPlugin_Sketch::SOLVER_ERROR())->value().empty()) aGroupsToResolve.push_back(*aGroupIter); } aGroupIter++;