From: azv Date: Thu, 17 Sep 2015 11:27:11 +0000 (+0300) Subject: Return removing of constraint for the unique fixed point to avoid conflicting constra... X-Git-Tag: V_1.4.0~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ba9a9f427151f04c809664f8a9d4356979996c5;p=modules%2Fshaper.git Return removing of constraint for the unique fixed point to avoid conflicting constraints (issue #753) --- 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