]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #29941 [CEA 29940] concatenate doesn't create node groups if mesh is empty V9_9_0rc1
authoreap <eap@opencascade.com>
Thu, 12 May 2022 09:58:47 +0000 (12:58 +0300)
committervsr <vsr@opencascade.com>
Thu, 12 May 2022 10:21:20 +0000 (13:21 +0300)
src/SMESH_I/SMESH_Gen_i.cxx

index e90b12de49f649be19540b3df29eab9fcba7545a..4a57364566bb24d59cc7fff4b99d6fad608765e1 100644 (file)
@@ -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() )