X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_ProjectionUtils.cxx;h=bc497c74bd4268cdf820f921b0cc609e0bc9972f;hb=24df7fa1abf1fb224675fb6d640c01a862600c12;hp=62b889bf82bc74a4500aad149f465be930f4aded;hpb=a7d76b7825ddb80006c38b1379bb2e8891256f1b;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx index 62b889bf8..bc497c74b 100644 --- a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx @@ -2062,7 +2062,7 @@ TopoDS_Edge StdMeshers_ProjectionUtils::GetBoundaryEdge(const TopoDS_Shape& edge PShapeIteratorPtr faceIt = SMESH_MesherHelper::GetAncestors( edge, mesh, TopAbs_FACE ); while ( const TopoDS_Shape* face = faceIt->next() ) if ( facesOfEdgeContainer.Contains( *face )) - if ( facesNearEdge.Add( *face ) and facesNearEdge.Extent() > 1 ) + if ( facesNearEdge.Add( *face ) && facesNearEdge.Extent() > 1 ) break; if ( facesNearEdge.Extent() == 1 ) return edge;