From 08fca6f5dea19cf026986104d2a8c6bd0c3b03e8 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 23 Apr 2018 18:58:06 +0300 Subject: [PATCH] IPAL54384: TC8.5.0: SMESH: Regression delete groups with contents - exception --- src/SMDS/SMDS_Mesh.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 43a48eb37..bb3ecb80f 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -1831,6 +1831,7 @@ void SMDS_Mesh::RemoveElement(const SMDS_MeshElement * elem, case SMDSAbs_All: // avoid compilation warning case SMDSAbs_NbElementTypes: break; } + removedElems.push_back( *it); myCellFactory->Free( static_cast< const SMDS_MeshCell*>( *it )); -- 2.39.2