From: eap Date: Thu, 12 May 2022 09:58:47 +0000 (+0300) Subject: bos #29941 [CEA 29940] concatenate doesn't create node groups if mesh is empty X-Git-Tag: V9_9_0rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54f5ef3adc3c8a91286936510d56ff048610eb24;p=modules%2Fsmesh.git bos #29941 [CEA 29940] concatenate doesn't create node groups if mesh is empty --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index e90b12de4..4a5736456 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -2613,9 +2613,6 @@ SMESH_Gen_i::ConcatenateCommon(const SMESH::ListOfIDSources& theMeshesArray, // copy elements - SMESH::array_of_ElementType_var srcElemTypes = theMeshesArray[i]->GetTypes(); - if ( srcElemTypes->length() == 1 && srcElemTypes[0] == SMESH::NODE ) // group of nodes - continue; std::vector< const SMDS_MeshElement* > newElems( initMeshDS->NbElements() + 1, 0 ); elemIt = initImpl->GetElements( theMeshesArray[i], SMESH::ALL ); while ( elemIt->more() )