mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-16 02:28:34 +05:00
Bug 0020034: [CEA 282] crash in SALOME_Session_Server after SMESH computation.
This commit is contained in:
parent
972eeadc36
commit
73c19aa96d
@ -1360,7 +1360,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
|||||||
{
|
{
|
||||||
ret = algo->Compute((*_father), shape);
|
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();
|
_computeError = algo->GetComputeError();
|
||||||
}
|
}
|
||||||
catch ( std::bad_alloc& exc ) {
|
catch ( std::bad_alloc& exc ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user