From 493903908df7452e11b897938a8dead1835185f8 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 20 Dec 2005 13:57:13 +0000 Subject: [PATCH] fix PAL10974. Call CleanDependants() instead of RemoveSubMeshElementsAndNodes() before algo->Compute() --- src/SMESH/SMESH_subMesh.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 777c09103..100a59560 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -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 ) );