]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells V5_1_4rc1
authoreap <eap@opencascade.com>
Wed, 28 Apr 2010 09:19:46 +0000 (09:19 +0000)
committereap <eap@opencascade.com>
Wed, 28 Apr 2010 09:19:46 +0000 (09:19 +0000)
  * 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

src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx

index a174a4674ab6008c42a0be9247d71cc31636f492..cdee32950646afa79500fb57de04a93eefc9ab30 100644 (file)
@@ -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 {