]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
bos #26452 [EDF] (2021) SMESH: orientation of faces occ/26452_face_ori
authoreap <eap@opencascade.com>
Wed, 17 Nov 2021 15:47:59 +0000 (18:47 +0300)
committereap <eap@opencascade.com>
Wed, 17 Nov 2021 15:47:59 +0000 (18:47 +0300)
   follow MESH_MeshEditor change

src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx

index e35168dc55aa2cc29717e75e356c02ac3d897dff..77415cc1f118858033eb19e44ec784a386424e5d 100644 (file)
@@ -216,8 +216,8 @@ namespace
         gp_XYZ normal;
         if ( SMESH_MeshAlgos::FaceNormal( f, normal ))
         {
-          TIDSortedElemSet allFaces;
-          editor.Reorient2D( allFaces, normal, f );
+          TIDSortedElemSet allFaces, refFaces = { f };
+          editor.Reorient2D( allFaces, normal, refFaces, /*allowNonManifold=*/true );
           break;
         }
       }