From 2ea84961b2c8e15512b7a6e15a0cf5f437895d09 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 17 May 2017 11:11:55 +0300 Subject: [PATCH] Issue #2166: wrong conflicting constraint error when create point on external edge --- src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp index 57f355920..05a704ace 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp @@ -37,6 +37,7 @@ void PlaneGCSSolver_Solver::addConstraint(GCSConstraintPtr theConstraint) myConstraints[theConstraint->getTag()].insert(theConstraint); if (theConstraint->getTag() >= 0) myDOF = -1; + myInitilized = false; } void PlaneGCSSolver_Solver::removeConstraint(ConstraintID theID) @@ -50,6 +51,7 @@ void PlaneGCSSolver_Solver::removeConstraint(ConstraintID theID) if (theID >= 0) myDOF = -1; } + myInitilized = false; } double* PlaneGCSSolver_Solver::createParameter() -- 2.39.2