From: eap Date: Wed, 28 Apr 2010 09:19:46 +0000 (+0000) Subject: 0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells X-Git-Tag: V5_1_4rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4576a39f364a8518b8e186c6032c573bf5657ab6;p=plugins%2Fnetgenplugin.git 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 ")<GetID()); + continue; // Issue 0020682. There already can be 3d mesh --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index a174a46..cdee329 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -443,8 +443,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh, // using adaptor const list* faces = Adaptor.GetTriangles(elem); if(faces==0) - return error( COMPERR_BAD_INPUT_MESH, - SMESH_Comment("No triangles in adaptor for element ")<GetID()); + continue; // Issue 0020682. There already can be 3d mesh trias.assign( faces->begin(), faces->end() ); } else {