From f1a810b957797032ca3acb4c97e002eb67a5f804 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 12 May 2022 12:58:47 +0300 Subject: [PATCH] bos #29941 [CEA 29940] concatenate doesn't create node groups if mesh is empty --- src/SMESH_I/SMESH_Gen_i.cxx | 3 --- 1 file changed, 3 deletions(-) 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() ) -- 2.30.2