]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
23627: [IMACS] Change group management to have group ID persistent
authoreap <eap@opencascade.com>
Thu, 17 Jan 2019 12:59:51 +0000 (15:59 +0300)
committereap <eap@opencascade.com>
Thu, 17 Jan 2019 12:59:51 +0000 (15:59 +0300)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index d593f6408f087a984e9d9059a707ebce459a5233..63c68467758ac314d3d7817081897942b3e8213a 100644 (file)
@@ -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<SMESHDS_Group*>( aGroup->GetGroupDS() );
             aGroupDS->SMDSGroup().Add(nodes[iv]);