mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 05:10:32 +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 )
|
void SMESH_subMesh::cleanDependsOn( bool keepSupportedsubMeshes )
|
||||||
{
|
{
|
||||||
if ( _father->NbNodes() == 0 ) return;
|
|
||||||
|
|
||||||
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,
|
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,
|
||||||
/*complexShapeFirst=*/true);
|
/*complexShapeFirst=*/true);
|
||||||
if ( !keepSupportedsubMeshes )
|
if ( _father->NbNodes() == 0 )
|
||||||
|
{
|
||||||
|
while ( smIt->more() )
|
||||||
|
smIt->next()->ComputeStateEngine(CHECK_COMPUTE_STATE);
|
||||||
|
}
|
||||||
|
else if ( !keepSupportedsubMeshes )
|
||||||
{
|
{
|
||||||
while ( smIt->more() )
|
while ( smIt->more() )
|
||||||
smIt->next()->ComputeStateEngine(CLEAN);
|
smIt->next()->ComputeStateEngine(CLEAN);
|
||||||
|
Loading…
Reference in New Issue
Block a user