X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBlockFix%2FBlockFix_UnionFaces.cxx;h=9a42dde438bf06ce2564a6677921f0583ed78f5d;hb=2736f682fe0d63fbaf9dff49c46b4fa6c23d72ce;hp=99f770afb1dc343aa3ac9a2731988a005b0faa7e;hpb=ee8283cdc0d24a528686155673f87c457309d912;p=modules%2Fgeom.git diff --git a/src/BlockFix/BlockFix_UnionFaces.cxx b/src/BlockFix/BlockFix_UnionFaces.cxx index 99f770afb..9a42dde43 100644 --- a/src/BlockFix/BlockFix_UnionFaces.cxx +++ b/src/BlockFix/BlockFix_UnionFaces.cxx @@ -26,8 +26,6 @@ #include -#include - #include #include @@ -246,9 +244,6 @@ static Standard_Boolean IsEdgeValidToMerge(const TopoDS_Edge &theEdge, Standard_Boolean isValid = Standard_True; 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. TopExp_Explorer anExp(theFace, TopAbs_EDGE); @@ -264,9 +259,7 @@ static Standard_Boolean IsEdgeValidToMerge(const TopoDS_Edge &theEdge, TopoDS_Edge anEdge = TopoDS::Edge(aShEdge); if (BRep_Tool::IsClosed(anEdge, theFace)) { - // Mantis issue 0023451, now code corresponds to the comment to this method - //isValid = Standard_False; - isValid = Standard_True; + isValid = Standard_False; break; } }