From: eap Date: Fri, 20 Jul 2012 16:10:45 +0000 (+0000) Subject: Generalize "Cancel Compute" mechanism to be able to report X-Git-Tag: V6_6_0a1~232 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a45cd504a9c93d65900305a3c3447fe9eae17b0;p=modules%2Fsmesh.git Generalize "Cancel Compute" mechanism to be able to report "Computation canceled" instead of "Algorithm failed" as failure reason + COMPERR_CANCELED // compute canceled --- diff --git a/idl/SMESH_Gen.idl b/idl/SMESH_Gen.idl index f11fafdfb..f6e9f89ad 100644 --- a/idl/SMESH_Gen.idl +++ b/idl/SMESH_Gen.idl @@ -100,7 +100,8 @@ module SMESH COMPERR_MEMORY_PB , // memory allocation problem COMPERR_ALGO_FAILED , // computation failed COMPERR_BAD_SHAPE , // bad geometry - COMPERR_WARNING // algo reports error but sub-mesh is computed anyway + COMPERR_WARNING , // algo reports error but sub-mesh is computed anyway + COMPERR_CANCELED // compute canceled }; struct ComputeError {