Salome HOME
case REMOVE_FATHER_ALGO: {
authoreap <eap@opencascade.com>
Wed, 16 Sep 2009 12:25:19 +0000 (12:25 +0000)
committereap <eap@opencascade.com>
Wed, 16 Sep 2009 12:25:19 +0000 (12:25 +0000)
+      // 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;
+

src/SMESH/SMESH_subMesh.cxx

index 6ba3217f6a2735fc9bbbcdf69c62fe593207b5fc..d92c7ee4bebd840404f89488869ee01dce4d0fdb 100644 (file)
@@ -946,6 +946,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
       {