X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Mesh_i.cxx;h=cc209d3798da0482d4eec217273dd70721a1a7a7;hp=815c1cf2395b4a789dd469e5cb25849bbfb62d8a;hb=09705577d153a1af07a5619503d3338b67951440;hpb=6fd64f7678b99d921aad3e227708c8700d389cb4 diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 815c1cf23..cc209d379 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1097,7 +1097,7 @@ void SMESH_Mesh_i::RemoveGroupWithContents( SMESH::SMESH_GroupBase_ptr theGroup while ( nIt->more() ) nodeIds.push_back( nIt->next()->GetID() ); - _impl->GetMeshDS()->RemoveElement( elemIt->next() ); + _impl->GetMeshDS()->RemoveElement( e ); } // Remove free nodes