Fix regression on reversed submeshes
- Netgen_triangle[ isRev ? 3-iN : iN ] = ngID; + Netgen_triangle[ isRev ? 2-iN : iN ] = ngID;
This commit is contained in:
parent
290c3c5460
commit
06f9c6fa68
@ -271,7 +271,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
||||
Netgen_point [ 2 ] = node->Z();
|
||||
Ng_AddPoint(Netgen_mesh, Netgen_point);
|
||||
}
|
||||
Netgen_triangle[ isRev ? 3-iN : iN ] = ngID;
|
||||
Netgen_triangle[ isRev ? 2-iN : iN ] = ngID;
|
||||
}
|
||||
// add triangle
|
||||
if ( hasDegen && (Netgen_triangle[0] == Netgen_triangle[1] ||
|
||||
|
Loading…
Reference in New Issue
Block a user