]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL12886 (mesh 3D does not success but the 2D with Quadranle Preference seems correct)
authoreap <eap@opencascade.com>
Tue, 20 Feb 2007 08:38:45 +0000 (08:38 +0000)
committereap <eap@opencascade.com>
Tue, 20 Feb 2007 08:38:45 +0000 (08:38 +0000)
     precise working case

src/StdMeshers/StdMeshers_Hexa_3D.cxx

index c72bae9dd08232ed939f7e64764b8815be0ff889..cbbc017ccf005465c36f825e4e530e81b1f694c3 100644 (file)
@@ -1059,7 +1059,7 @@ bool ComputePentahedralMesh(SMESH_Mesh & aMesh,   const TopoDS_Shape & aShape)
   //
   bOK=anAlgo.Compute(aMesh, aShape);
   //
-  if ( !bOK )
+  if ( !bOK && anAlgo.ErrorStatus() == 5 )
   {
     static StdMeshers_Prism_3D * aPrism3D = 0;
     if ( !aPrism3D ) {