From: eap Date: Mon, 19 Nov 2012 12:38:27 +0000 (+0000) Subject: 0021542: EDF 1699 SMESH: Reorient a group of faces X-Git-Tag: V6_6_0rc1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93f0557a04469131e6eae20e1a3ecd2900c7a46a;p=modules%2Fsmesh.git 0021542: EDF 1699 SMESH: Reorient a group of faces Fix ("In non-manifold mesh, orient co-directed faces only") --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 888aee883..30d762efc 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -1207,6 +1207,10 @@ int SMESH_MeshEditor::Reorient2D (TIDSortedElemSet & theFaces, } } } + else if ( facesNearLink.size() == 1 ) + { + otherFace = facesNearLink[0]; + } if ( otherFace && otherFace != theFace) { // link must be reverse in otherFace if orientation ot otherFace