-
- if ( !aSubMesh->IsEmpty() &&
- aSubMesh->GetSubShape().ShapeType() == TopAbs_EDGE &&
- !toNotify )
- allMeshedEdgesNotified = false;
+ if ( aSubMesh->GetAlgoState() == SMESH_subMesh::MISSING_HYP )
+ allMeshedEdgesNotified = false; // update of algo state needed, not mesh clearing
+ }
+ else
+ {
+ if ( !aSubMesh->IsEmpty() &&
+ aSubMesh->GetSubShape().ShapeType() == TopAbs_EDGE )
+ allMeshedEdgesNotified = false;
+ }