From: azv Date: Wed, 17 May 2017 08:11:55 +0000 (+0300) Subject: Issue #2166: wrong conflicting constraint error when create point on external edge X-Git-Tag: V_2.7.1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ea84961b2c8e15512b7a6e15a0cf5f437895d09;p=modules%2Fshaper.git Issue #2166: wrong conflicting constraint error when create point on external edge --- 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()