Salome HOME
fix PAL10974. Call CleanDependants() instead of
[modules/smesh.git] / src / SMESH / SMESH_subMesh.cxx
index 777c09103e17d266c643efea950e5b3156e11dfa..100a59560df44c14e962bf13ac76dbec1b82928f 100644 (file)
@@ -1244,7 +1244,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
           break;
         }
         // compute
-        RemoveSubMeshElementsAndNodes();
+        CleanDependants();
+        //RemoveSubMeshElementsAndNodes();
         //removeSubMesh( _meshDS, _subShape );
         if (!algo->NeedDescretBoundary() && !algo->OnlyUnaryInput())
           ret = ApplyToCollection( algo, GetCollection( gen, algo ) );