From: eap Date: Thu, 18 Jun 2009 12:47:55 +0000 (+0000) Subject: SMESH_Hypothesis::Hypothesis_Status aStatus; X-Git-Tag: V5_1_3rc1~156 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f98258c46ef4049b8d5ab75a0374be62eca4dbe;p=modules%2Fsmesh.git SMESH_Hypothesis::Hypothesis_Status aStatus; if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) { + aPrism3D->InitComputeError(); bOK = aPrism3D->Compute( aMesh, aShape ); --- diff --git a/src/StdMeshers/StdMeshers_Hexa_3D.cxx b/src/StdMeshers/StdMeshers_Hexa_3D.cxx index 3320a4ee9..769d996c5 100644 --- a/src/StdMeshers/StdMeshers_Hexa_3D.cxx +++ b/src/StdMeshers/StdMeshers_Hexa_3D.cxx @@ -1047,6 +1047,7 @@ SMESH_ComputeErrorPtr ComputePentahedralMesh(SMESH_Mesh & aMesh, } SMESH_Hypothesis::Hypothesis_Status aStatus; if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) { + aPrism3D->InitComputeError(); bOK = aPrism3D->Compute( aMesh, aShape ); err = aPrism3D->GetComputeError(); }