Salome HOME
Regression of doc/salome/examples/use_existing_faces.py
[modules/smesh.git] / src / SMESH / SMESH_subMesh.cxx
index 9618871bd7211bc5ed2b269dbc58772929d68fb3..19931be61ed4c7c2eb0ea6772d6c88226651f273 100644 (file)
@@ -1209,7 +1209,7 @@ void SMESH_subMesh::cleanDependsOn( SMESH_Algo* algoRequiringCleaning/*=0*/ )
         // remember all sub-meshes of sm
         if ( keepSubMeshes )
         {
         // remember all sub-meshes of sm
         if ( keepSubMeshes )
         {
-          SMESH_subMeshIteratorPtr smIt2 = sm->getDependsOnIterator(false);
+          SMESH_subMeshIteratorPtr smIt2 = sm->getDependsOnIterator(true);
           while ( smIt2->more() )
             smToKeep.insert( smIt2->next() );
         }
           while ( smIt2->more() )
             smToKeep.insert( smIt2->next() );
         }