From: azv Date: Fri, 5 May 2017 07:04:44 +0000 (+0300) Subject: Fix incorrect processing Tangent features in case the extremity coincidence between... X-Git-Tag: V_2.7.1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d5831398bfcce4934f24c7e1bc88081a82955347;p=modules%2Fshaper.git Fix incorrect processing Tangent features in case the extremity coincidence between these features has been changed (not removed). --- 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;