Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IPAL52868: Confusing error message when computing an imported mesh w/o algo assigned
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Gen.cxx
diff --git
a/src/SMESH/SMESH_Gen.cxx
b/src/SMESH/SMESH_Gen.cxx
index 8fadef162a25872a02eecbf736d6c2c076b0ccc7..037acb584ed255d6d24f85c75aba670be8cd76c6 100644
(file)
--- a/
src/SMESH/SMESH_Gen.cxx
+++ b/
src/SMESH/SMESH_Gen.cxx
@@
-943,7
+943,7
@@
bool SMESH_Gen::GetAlgoState(SMESH_Mesh& theMesh,
if ( !hasAlgo ) {
ret = false;
theErrors.push_back( TAlgoStateError() );
- theErrors.back().Set( SMESH_Hypothesis::HYP_MISSING,
1
, true );
+ theErrors.back().Set( SMESH_Hypothesis::HYP_MISSING,
theMesh.HasShapeToMesh() ? 1 : 3
, true );
}
return ret;