]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Generalize "Cancel Compute" mechanism to be able to report
authoreap <eap@opencascade.com>
Fri, 20 Jul 2012 16:12:16 +0000 (16:12 +0000)
committereap <eap@opencascade.com>
Fri, 20 Jul 2012 16:12:16 +0000 (16:12 +0000)
"Computation canceled" instead of "Algorithm failed" as failure reason

+      CASE2TEXT( COMPERR_CANCELED      );

src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index 76061bb86c5e9888798d2cd36ab9a31fc06faa28..0bb2fa5ef2bac0a06e1fdafb4cbc706ef3229c52 100644 (file)
@@ -345,6 +345,7 @@ namespace SMESH
       CASE2TEXT( COMPERR_EXCEPTION     );
       CASE2TEXT( COMPERR_MEMORY_PB     );
       CASE2TEXT( COMPERR_BAD_SHAPE     );
+      CASE2TEXT( COMPERR_CANCELED      );
     case SMESH::COMPERR_ALGO_FAILED:
       if ( strlen(comment) == 0 )
         text = QObject::tr("COMPERR_ALGO_FAILED");