IPAL54384: TC8.5.0: SMESH: Regression delete groups with contents - exception

This commit is contained in:
eap 2018-04-23 18:58:06 +03:00
parent 0d2a992178
commit 08fca6f5de

View File

@ -1831,6 +1831,7 @@ void SMDS_Mesh::RemoveElement(const SMDS_MeshElement * elem,
case SMDSAbs_All: // avoid compilation warning case SMDSAbs_All: // avoid compilation warning
case SMDSAbs_NbElementTypes: break; case SMDSAbs_NbElementTypes: break;
} }
removedElems.push_back( *it);
myCellFactory->Free( static_cast< const SMDS_MeshCell*>( *it )); myCellFactory->Free( static_cast< const SMDS_MeshCell*>( *it ));