]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020918: EDF 1447 SMESH: Mesh common borders
authoreap <eap@opencascade.com>
Tue, 30 Nov 2010 15:18:30 +0000 (15:18 +0000)
committereap <eap@opencascade.com>
Tue, 30 Nov 2010 15:18:30 +0000 (15:18 +0000)
   In CheckComputeError()

-      _computeState = COMPUTE_OK;
+      _computeState = IsMeshComputed() ? COMPUTE_OK : FAILED_TO_COMPUTE;

src/SMESH/SMESH_subMesh.cxx

index 69b33a94c85ad2861a6576b10c4a08d373140705..76418c59fc69784340345db94b3a8e999cde8040 100644 (file)
@@ -1699,7 +1699,7 @@ bool SMESH_subMesh::CheckComputeError(SMESH_Algo* theAlgo, const TopoDS_Shape& t
     // Check my state
     if ( !_computeError || _computeError->IsOK() )
     {
-      _computeState = COMPUTE_OK;
+      _computeState = IsMeshComputed() ? COMPUTE_OK : FAILED_TO_COMPUTE;
     }
     else
     {