From: azv Date: Tue, 7 Jun 2016 15:48:58 +0000 (+0300) Subject: Fix incorrect movement of horizontal line connected to a sketch point X-Git-Tag: V_2.4.0~130 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1dc383af303b618727228e0af50201d5a4e5474e;p=modules%2Fshaper.git Fix incorrect movement of horizontal line connected to a sketch point --- diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp index 37e58bf82..4480b1026 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp @@ -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; }