From f01eb4a8f1bf1bd40a37dbd458f66ead54964b58 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 3 Oct 2008 10:36:46 +0000 Subject: [PATCH] refix 19978 --- src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index a98c33f..40acce5 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -319,6 +319,8 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, netgen::OCCGeometry occgeo; NETGENPlugin_Mesher::PrepareOCCgeometry( occgeo, F, aMesh ); + occgeo.fmap.Clear(); // face can be reversed, which is wrong in this case (issue 19978) + occgeo.fmap.Add( F ); vector< const SMDS_MeshNode* > nodeVec; problem = AddSegmentsToMesh( *ngMesh, occgeo, wires, helper, nodeVec ); -- 2.39.2