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

index a4498543c8fd5c794a5ea680f4c0cb3dd789a9bc..842cf70ee1dac9a6825b1584497d01ad45600330 100644 (file)
@@ -552,13 +552,12 @@ static void makeDomainGroups( std::vector< std::vector< const SMDS_MeshElement*
     }
     // create and fill the groups
     size_t iElem = 0;
-    int groupID;
     do
     {
       SMESH_Group* group = groupOfType[ elems[ iElem ]->GetType() ];
       if ( !group )
         group = theHelper->GetMesh()->AddGroup( elems[ iElem ]->GetType(),
-                                                domainName.c_str(), groupID );
+                                                domainName.c_str() );
       SMDS_MeshGroup& groupDS =
         static_cast< SMESHDS_Group* >( group->GetGroupDS() )->SMDSGroup();