Salome HOME
small fix of indentation
authoreap <eap@opencascade.com>
Tue, 24 Apr 2012 14:30:08 +0000 (14:30 +0000)
committereap <eap@opencascade.com>
Tue, 24 Apr 2012 14:30:08 +0000 (14:30 +0000)
src/SMESH_I/SMESH_Mesh_i.cxx

index 75fe84e1903f284704a84a3cbac9c0aab520a224..a7cc8d0f2d3942ed983f2d0e306c8e957f74aea0 100644 (file)
@@ -4698,12 +4698,9 @@ static void findCommonSubMesh (list<const SMESH_subMesh*>& theSubMeshList,
 
     // clear collected submeshes
     set<const SMESH_subMesh*>::iterator clrIt = subMeshToClear.begin();
-    for ( ; clrIt != subMeshToClear.end(); clrIt++ ) {
-      SMESH_subMesh* sm = (SMESH_subMesh*)*clrIt;
-        if ( sm )
-          sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
-        // ClearSubMesh( *clrIt );
-      }
+    for ( ; clrIt != subMeshToClear.end(); clrIt++ )
+      if ( SMESH_subMesh* sm = (SMESH_subMesh*)*clrIt )
+        sm->ComputeStateEngine( SMESH_subMesh::CLEAN );
   }
   aPythonDump << " ])";