Salome HOME
Join modifications from branch OCC_development_for_3_2_0a2
[modules/smesh.git] / src / SMESH / SMESH_Pattern.cxx
index 493799d3551c53b0f4a02aa8338318eb5c75391c..f6090b1a839a8c70b3fa378f4a9acbc30cd90eb0 100644 (file)
@@ -3505,7 +3505,7 @@ void SMESH_Pattern::clearMesh(SMESH_Mesh* theMesh) const
   {
     if ( SMESH_subMesh * aSubMesh = theMesh->GetSubMesh/*Containing*/( myShape ))
     {
-      aSubMesh->ComputeStateEngine( SMESH_subMesh::CLEANDEP );
+      aSubMesh->ComputeStateEngine( SMESH_subMesh::CLEAN );
     }
     else {
       SMESHDS_Mesh* aMeshDS = theMesh->GetMeshDS();