From: eap Date: Wed, 13 Nov 2013 14:39:11 +0000 (+0000) Subject: 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls X-Git-Tag: V7_3_0a1~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39fabf09c15be195ea5cf1f8dcd6d808f6111deb;p=modules%2Fsmesh.git 22372: EDF 2758 SMESH: Create/Manage groups on a mesh composed of nodes and balls In ClearMesh(), free elements cashed in GroupOnFilter's --- 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 + } } }