From 38eb4277a5ab3de11b38455ca9611286cf06841f Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 17 Jan 2019 15:55:53 +0300 Subject: [PATCH] 23627: [IMACS] Change group management to have group ID persistent --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index a449854..842cf70 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -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(); -- 2.39.2