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 777c091..100a595 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 ) );