From: eap Date: Thu, 17 Jan 2019 12:59:51 +0000 (+0300) Subject: 23627: [IMACS] Change group management to have group ID persistent X-Git-Tag: V9_3_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c8a8d3cd0ac0bf53e2afccf190be20e3c1599a9e;p=plugins%2Fblsurfplugin.git 23627: [IMACS] Change group management to have group ID persistent --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index d593f64..63c6846 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -2599,8 +2599,7 @@ bool BLSURFPlugin_BLSURF::compute(SMESH_Mesh& aMesh, } if (!groupDone) { - int groupId; - SMESH_Group* aGroup = aMesh.AddGroup(SMDSAbs_Node, currentEnfVertex->grpName.c_str(), groupId); + SMESH_Group* aGroup = aMesh.AddGroup( SMDSAbs_Node, currentEnfVertex->grpName.c_str() ); aGroup->SetName( currentEnfVertex->grpName.c_str() ); SMESHDS_Group* aGroupDS = static_cast( aGroup->GetGroupDS() ); aGroupDS->SMDSGroup().Add(nodes[iv]);