From: eap Date: Fri, 3 Oct 2008 10:38:12 +0000 (+0000) Subject: refix 19978 X-Git-Tag: V5_1_0_for_TC1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c55a744f0ca72bff172f1a360511c086196e2a5;p=plugins%2Fnetgenplugin.git refix 19978 --- 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 );