mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 00:30:33 +05:00
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1
Fix cleanDependsOn() which mush do at least CHECK_COMPUTE_STATE even in empty mesh
This commit is contained in:
parent
b5d9b2799b
commit
54cd5176e8
@ -1181,11 +1181,14 @@ SMESH_Hypothesis::Hypothesis_Status
|
||||
|
||||
void SMESH_subMesh::cleanDependsOn( bool keepSupportedsubMeshes )
|
||||
{
|
||||
if ( _father->NbNodes() == 0 ) return;
|
||||
|
||||
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,
|
||||
/*complexShapeFirst=*/true);
|
||||
if ( !keepSupportedsubMeshes )
|
||||
if ( _father->NbNodes() == 0 )
|
||||
{
|
||||
while ( smIt->more() )
|
||||
smIt->next()->ComputeStateEngine(CHECK_COMPUTE_STATE);
|
||||
}
|
||||
else if ( !keepSupportedsubMeshes )
|
||||
{
|
||||
while ( smIt->more() )
|
||||
smIt->next()->ComputeStateEngine(CLEAN);
|
||||
|
Loading…
Reference in New Issue
Block a user