mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Regression of SALOME_TESTS/Grids/smesh/bugs_03/D6
Improve the EventListener to clean all EDGEs of a complex side if one EDGE is cleaned
This commit is contained in:
parent
a60773c9b3
commit
e57d64d391
@ -215,6 +215,18 @@ namespace {
|
||||
}
|
||||
}
|
||||
}
|
||||
// clean all EDGEs of a complex side if one EDGE is cleaned
|
||||
else if ( event == SMESH_subMesh::CLEAN &&
|
||||
eventType == SMESH_subMesh::COMPUTE_EVENT )
|
||||
{
|
||||
SMESH_subMeshIteratorPtr smIt = subMesh->getDependsOnIterator(/*includeSelf=*/false);
|
||||
while ( smIt->more() ) // loop on VERTEX sub-meshes
|
||||
{
|
||||
SMESH_subMesh* sm = smIt->next();
|
||||
if ( sm->IsAlwaysComputed() ) // it's an internal node sub-mesh
|
||||
sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
|
||||
}
|
||||
}
|
||||
}
|
||||
}; // struct VertexNodesRestoringListener
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user