From d5831398bfcce4934f24c7e1bc88081a82955347 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 5 May 2017 10:04:44 +0300 Subject: [PATCH] Fix incorrect processing Tangent features in case the extremity coincidence between these features has been changed (not removed). --- src/SketchSolver/SketchSolver_ConstraintTangent.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp index 0bc96168e..ff72f310d 100644 --- a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp @@ -185,8 +185,10 @@ void SketchSolver_ConstraintTangent::notify(const FeaturePtr& theFeature, if (aNbCoincidentFeatures == 2) isRebuild = true; } - } else if (mySharedPoint) { - // The features are tangent in the shared point, but the coincidence has been removed. + } + + if (mySharedPoint && !isRebuild) { + // The features are tangent in the shared point, but the coincidence has been removed/updated. // Check if the coincidence is the same. std::list aCoincidentPoints = coincidentBoundaryPoints(aTgFeat1, aTgFeat2); isRebuild = true; -- 2.39.2