0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
* Restore the lost fix: if(faces==0) - return error( COMPERR_BAD_INPUT_MESH, - SMESH_Comment("No triangles in adaptor for element ")<<elem->GetID()); + continue; // Issue 0020682. There already can be 3d mesh
This commit is contained in:
parent
ba906fcdb5
commit
4576a39f36
@ -443,8 +443,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
||||
// using adaptor
|
||||
const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
|
||||
if(faces==0)
|
||||
return error( COMPERR_BAD_INPUT_MESH,
|
||||
SMESH_Comment("No triangles in adaptor for element ")<<elem->GetID());
|
||||
continue; // Issue 0020682. There already can be 3d mesh
|
||||
trias.assign( faces->begin(), faces->end() );
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user