From: eap Date: Thu, 18 Jun 2009 12:48:07 +0000 (+0000) Subject: SMESH_Hypothesis::Hypothesis_Status aStatus; X-Git-Tag: V4_1_0_maintainance_FINAL~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=77f3835a49a585ff02507b1fda0da2ba48849ada;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(); }