]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021542: EDF 1699 SMESH: Reorient a group of faces
authoreap <eap@opencascade.com>
Mon, 19 Nov 2012 12:38:27 +0000 (12:38 +0000)
committereap <eap@opencascade.com>
Mon, 19 Nov 2012 12:38:27 +0000 (12:38 +0000)
   Fix ("In non-manifold mesh, orient co-directed faces only")

src/SMESH/SMESH_MeshEditor.cxx

index 888aee883e34ef899ffa2ee8d3fd24c339f15502..30d762efca12c6e33327a4efd41a3b2d190a1996 100644 (file)
@@ -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