-#ifdef WITH_SMESH_CANCEL_COMPUTE

This commit is contained in:
eap 2012-07-20 16:11:59 +00:00
parent a08c336e83
commit 1d6e1db451

View File

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