]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls
authoreap <eap@opencascade.com>
Wed, 13 Nov 2013 14:39:11 +0000 (14:39 +0000)
committereap <eap@opencascade.com>
Wed, 13 Nov 2013 14:39:11 +0000 (14:39 +0000)
  In ClearMesh(), free elements cashed in GroupOnFilter's

src/SMESHDS/SMESHDS_Mesh.cxx

index d93e784c3141deb74e88aa1366e375a45d469453..8489868cc5f0e33750e1608d4389b8543124aba9 100644 (file)
@@ -998,6 +998,10 @@ void SMESHDS_Mesh::ClearMesh()
       g->Clear();
       g->SetType( groupType );
     }
+    else
+    {
+      (*group)->Extent(); // to free cashed elements in GroupOnFilter's
+    }
   }
 }