From 46f3ef596af5113fa356016572977768aa20b5a0 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 20 Feb 2007 08:38:45 +0000 Subject: [PATCH] PAL12886 (mesh 3D does not success but the 2D with Quadranle Preference seems correct) precise working case --- src/StdMeshers/StdMeshers_Hexa_3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Hexa_3D.cxx b/src/StdMeshers/StdMeshers_Hexa_3D.cxx index c72bae9dd..cbbc017cc 100644 --- a/src/StdMeshers/StdMeshers_Hexa_3D.cxx +++ b/src/StdMeshers/StdMeshers_Hexa_3D.cxx @@ -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 ) { -- 2.39.2