Salome HOME
IPAL21346 After Quadrangle Algorithm failed, visualisation of mesh is bad. Regress...
authordmv <dmv@opencascade.com>
Tue, 15 Sep 2009 15:27:58 +0000 (15:27 +0000)
committerdmv <dmv@opencascade.com>
Tue, 15 Sep 2009 15:27:58 +0000 (15:27 +0000)
src/SMESH/SMESH_subMesh.cxx

index ad59f98c97d069daa9a505525788684bf603ef3a..b0211dc4a4150ef89e2e8f0c4aceed5a06ceae06 100644 (file)
@@ -947,6 +947,12 @@ SMESH_Hypothesis::Hypothesis_Status
       break;
     }
     case REMOVE_FATHER_ALGO: {
       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
       {
       algo = gen->GetAlgo((*_father), _subShape);
       if (algo == NULL)  // no more applying algo on father
       {