]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
-#ifdef WITH_SMESH_CANCEL_COMPUTE
authoreap <eap@opencascade.com>
Fri, 20 Jul 2012 16:11:59 +0000 (16:11 +0000)
committereap <eap@opencascade.com>
Fri, 20 Jul 2012 16:11:59 +0000 (16:11 +0000)
src/SMESH/SMESH_subMesh.cxx

index af4e614a8706ebb1f26b2a2500b10607ab893db9..65ffac712f0240230d5e2296957ad7f026e09241 100644 (file)
@@ -1609,14 +1609,12 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
       break;
     case COMPUTE:      // nothing to do
       break;
-#ifdef WITH_SMESH_CANCEL_COMPUTE
     case COMPUTE_CANCELED:
       {
         algo = GetAlgo();
         algo->CancelCompute();
       }
       break;
-#endif
     case CLEAN:
       cleanDependants(); // submeshes dependent on me should be cleaned as well
       removeSubMeshElementsAndNodes();