From 39fabf09c15be195ea5cf1f8dcd6d808f6111deb Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 13 Nov 2013 14:39:11 +0000 Subject: [PATCH] 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls In ClearMesh(), free elements cashed in GroupOnFilter's --- src/SMESHDS/SMESHDS_Mesh.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESHDS/SMESHDS_Mesh.cxx b/src/SMESHDS/SMESHDS_Mesh.cxx index d93e784c3..8489868cc 100644 --- a/src/SMESHDS/SMESHDS_Mesh.cxx +++ b/src/SMESHDS/SMESHDS_Mesh.cxx @@ -998,6 +998,10 @@ void SMESHDS_Mesh::ClearMesh() g->Clear(); g->SetType( groupType ); } + else + { + (*group)->Extent(); // to free cashed elements in GroupOnFilter's + } } } -- 2.30.2