From 0a45cd504a9c93d65900305a3c3447fe9eae17b0 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 20 Jul 2012 16:10:45 +0000 Subject: [PATCH] Generalize "Cancel Compute" mechanism to be able to report "Computation canceled" instead of "Algorithm failed" as failure reason + COMPERR_CANCELED // compute canceled --- idl/SMESH_Gen.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {