]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintMiddle.cpp
Salome HOME
Issues #2150 and #2151: Frequently appeared "Conflicting constraints" message for...
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintMiddle.cpp
index 6680004c8f633395b340b231f0ca80381b6c4976..e5388276c4b61db0b069f30d6a9f2aab631d66d5 100644 (file)
@@ -16,7 +16,7 @@ void SketchSolver_ConstraintMiddle::notify(const FeaturePtr&      theFeature,
 {
   PlaneGCSSolver_UpdateCoincidence* anUpdater =
       static_cast<PlaneGCSSolver_UpdateCoincidence*>(theUpdater);
-  bool isAccepted = anUpdater->checkCoincidence(myAttributes.front(), myAttributes.back());
+  bool isAccepted = anUpdater->addCoincidence(myAttributes.front(), myAttributes.back());
   if (isAccepted) {
     if (!myInSolver) {
       myInSolver = true;