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-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=786d8e776797041a0032214a44ac818fd6d9decc;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++;