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:
972eead
)
Bug 0020034: [CEA 282] crash in SALOME_Session_Server after SMESH computation.
author
jfa
<jfa@opencascade.com>
Wed, 12 Nov 2008 10:45:55 +0000
(10:45 +0000)
committer
jfa
<jfa@opencascade.com>
Wed, 12 Nov 2008 10:45:55 +0000
(10:45 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index 8945f5e26d4dc7960c50bfbe6c0561fd0d533562..290ee4d768f9076731a88f701ced5ff1e82c4ec0 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-1360,7
+1360,7
@@
bool SMESH_subMesh::ComputeStateEngine(int event)
{
ret = algo->Compute((*_father), shape);
}
- if ( !
ret && _computeError->IsOK(
) ) // algo can set _computeError of submesh
+ if ( !
_computeError || ( !ret && _computeError->IsOK()
) ) // algo can set _computeError of submesh
_computeError = algo->GetComputeError();
}
catch ( std::bad_alloc& exc ) {