]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix incorrect movement of horizontal line connected to a sketch point
authorazv <azv@opencascade.com>
Tue, 7 Jun 2016 15:48:58 +0000 (18:48 +0300)
committerazv <azv@opencascade.com>
Tue, 7 Jun 2016 15:53:02 +0000 (18:53 +0300)
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp

index 37e58bf828c85ceec0b4a69590c87056446d4716..4480b10261380ba67f5a465974d00a3cca4b11f6 100644 (file)
@@ -98,10 +98,8 @@ SketchSolver_SolveStatus PlaneGCSSolver_Solver::solve()
   if (aResult == GCS::Success) {
     myEquationSystem.applySolution();
     aStatus = STATUS_OK;
-  } else {
-    undo();
+  } else
     aStatus = STATUS_FAILED;
-  }
 
   return aStatus;
 }