refix 19978
This commit is contained in:
parent
bb6d4c6eec
commit
7c55a744f0
@ -319,6 +319,8 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh,
|
|||||||
|
|
||||||
netgen::OCCGeometry occgeo;
|
netgen::OCCGeometry occgeo;
|
||||||
NETGENPlugin_Mesher::PrepareOCCgeometry( occgeo, F, aMesh );
|
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;
|
vector< const SMDS_MeshNode* > nodeVec;
|
||||||
problem = AddSegmentsToMesh( *ngMesh, occgeo, wires, helper, nodeVec );
|
problem = AddSegmentsToMesh( *ngMesh, occgeo, wires, helper, nodeVec );
|
||||||
|
Loading…
Reference in New Issue
Block a user