From be713631b9a1fa39602d7651ce1aed6131efd471 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 17 Nov 2021 18:47:59 +0300 Subject: [PATCH] bos #26452 [EDF] (2021) SMESH: orientation of faces follow MESH_MeshEditor change --- src/NETGENPlugin/NETGENPlugin_Remesher_2D.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.2