Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58adc4
)
Fix incorrect processing Tangent features in case the extremity coincidence between...
author
azv
<azv@opencascade.com>
Fri, 5 May 2017 07:04:44 +0000
(10:04 +0300)
committer
azv
<azv@opencascade.com>
Fri, 5 May 2017 07:04:44 +0000
(10:04 +0300)
src/SketchSolver/SketchSolver_ConstraintTangent.cpp
patch
|
blob
|
history
diff --git
a/src/SketchSolver/SketchSolver_ConstraintTangent.cpp
b/src/SketchSolver/SketchSolver_ConstraintTangent.cpp
index 0bc96168e6880ae6036d54b4b863af10501dc555..ff72f310dc99ae5ce40d3a41f87a6c9fb85971fa 100644
(file)
--- 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<AttributePtr> aCoincidentPoints = coincidentBoundaryPoints(aTgFeat1, aTgFeat2);
isRebuild = true;