]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
2.17. Improved management of overconstraint situation: Undo correction: SOLVER_ERROR...
authornds <nds@opencascade.com>
Tue, 9 Feb 2016 09:23:26 +0000 (12:23 +0300)
committerdbv <dbv@opencascade.com>
Tue, 16 Feb 2016 14:04:39 +0000 (17:04 +0300)
The modification is approved by AZV.
Scenario: create line, lenght, lenght, undo. BUG: the first length is still visualized in conflicted color.

src/SketchSolver/SketchSolver_Manager.cpp

index 39662623da538a0f816f2691a3e83a96b3db62bf..eb30c034f34601cd1d9c646578e43ff279086bd3 100644 (file)
@@ -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++;