mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 02:40:32 +05:00
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason + CASE2TEXT( COMPERR_CANCELED );
This commit is contained in:
parent
1d6e1db451
commit
c553d12402
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user