Salome HOME
fix PAL10974. Call CleanDependants() instead of
authoreap <eap@opencascade.com>
Tue, 20 Dec 2005 13:57:13 +0000 (13:57 +0000)
committereap <eap@opencascade.com>
Tue, 20 Dec 2005 13:57:13 +0000 (13:57 +0000)
RemoveSubMeshElementsAndNodes() before algo->Compute()

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 ) );