IPAL21346 After Quadrangle Algorithm failed, visualisation of mesh is bad. Regress to 5.1.2

This commit is contained in:
dmv 2009-09-15 15:27:58 +00:00
parent 067947492f
commit a448c25876

View File

@ -947,6 +947,12 @@ SMESH_Hypothesis::Hypothesis_Status
break;
}
case REMOVE_FATHER_ALGO: {
// IPAL21346. Edges not removed when Netgen 1d-2d is removed from a SOLID.
// CLEAN was not called at event REMOVE_ALGO because the algo is not applicable to SOLID.
algo = dynamic_cast<SMESH_Algo*> (anHyp);
if (!algo->NeedDescretBoundary())
needFullClean = true;
algo = gen->GetAlgo((*_father), _subShape);
if (algo == NULL) // no more applying algo on father
{