From 8ba9a9f427151f04c809664f8a9d4356979996c5 Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 17 Sep 2015 14:27:11 +0300 Subject: [PATCH] Return removing of constraint for the unique fixed point to avoid conflicting constraints (issue #753) --- src/SketchSolver/SketchSolver_Storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_Storage.cpp b/src/SketchSolver/SketchSolver_Storage.cpp index 1e7755787..4ed2112e4 100644 --- a/src/SketchSolver/SketchSolver_Storage.cpp +++ b/src/SketchSolver/SketchSolver_Storage.cpp @@ -725,7 +725,7 @@ void SketchSolver_Storage::initializeSolver(SketchSolver_Solver& theSolver) for (; anIt != aConstraints.end(); anIt++) if (anIt->h == myFixed) { aFixedPoint = anIt->ptA; -// aConstraints.erase(anIt); + aConstraints.erase(anIt); break; } // set dragged parameters -- 2.39.2