Salome HOME
SMESH_Hypothesis::Hypothesis_Status aStatus;
authoreap <eap@opencascade.com>
Thu, 18 Jun 2009 12:48:07 +0000 (12:48 +0000)
committereap <eap@opencascade.com>
Thu, 18 Jun 2009 12:48:07 +0000 (12:48 +0000)
     if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );

src/StdMeshers/StdMeshers_Hexa_3D.cxx

index 3320a4ee94809eb43fc31c7cbed4f4527c8ace49..769d996c5f57a24a80c1b599169b8e9c2565764c 100644 (file)
@@ -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();
     }