From: eap Date: Wed, 17 Nov 2021 15:47:59 +0000 (+0300) Subject: bos #26452 [EDF] (2021) SMESH: orientation of faces X-Git-Tag: V9_9_0a1~5^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be713631b9a1fa39602d7651ce1aed6131efd471;p=plugins%2Fnetgenplugin.git bos #26452 [EDF] (2021) SMESH: orientation of faces follow MESH_MeshEditor change --- diff --git a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx index e35168d..77415cc 100644 --- a/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx @@ -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; } }