Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6e1db
)
Generalize "Cancel Compute" mechanism to be able to report
author
eap
<eap@opencascade.com>
Fri, 20 Jul 2012 16:12:16 +0000
(16:12 +0000)
committer
eap
<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
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
index 76061bb86c5e9888798d2cd36ab9a31fc06faa28..0bb2fa5ef2bac0a06e1fdafb4cbc706ef3229c52 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
@@
-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");