From 1dc383af303b618727228e0af50201d5a4e5474e Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 7 Jun 2016 18:48:58 +0300 Subject: [PATCH] Fix incorrect movement of horizontal line connected to a sketch point --- src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 2.39.2