mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +05:00
Revert commit a1bc463e
for issue 0023451 as it caused regressions
This commit is contained in:
parent
1137dd744f
commit
c24f6c6618
@ -244,9 +244,6 @@ static Standard_Boolean IsEdgeValidToMerge(const TopoDS_Edge &theEdge,
|
|||||||
Standard_Boolean isValid = Standard_True;
|
Standard_Boolean isValid = Standard_True;
|
||||||
|
|
||||||
if (BRep_Tool::IsClosed(theEdge, theFace)) {
|
if (BRep_Tool::IsClosed(theEdge, theFace)) {
|
||||||
// Mantis issue 0023451, now code corresponds to the comment to this method
|
|
||||||
isValid = Standard_False;
|
|
||||||
|
|
||||||
// This is a seam edge. Check if there are another seam edges on the face.
|
// This is a seam edge. Check if there are another seam edges on the face.
|
||||||
TopExp_Explorer anExp(theFace, TopAbs_EDGE);
|
TopExp_Explorer anExp(theFace, TopAbs_EDGE);
|
||||||
|
|
||||||
@ -262,9 +259,7 @@ static Standard_Boolean IsEdgeValidToMerge(const TopoDS_Edge &theEdge,
|
|||||||
TopoDS_Edge anEdge = TopoDS::Edge(aShEdge);
|
TopoDS_Edge anEdge = TopoDS::Edge(aShEdge);
|
||||||
|
|
||||||
if (BRep_Tool::IsClosed(anEdge, theFace)) {
|
if (BRep_Tool::IsClosed(anEdge, theFace)) {
|
||||||
// Mantis issue 0023451, now code corresponds to the comment to this method
|
isValid = Standard_False;
|
||||||
//isValid = Standard_False;
|
|
||||||
isValid = Standard_True;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user