From 4137f1c07becd07a56f741cce2c5da74d7d1afad Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 20 Jul 2009 14:50:13 +0000 Subject: [PATCH] 0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1) --- src/SMESH_I/SMESH_Gen_i_1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index bb0b0c705..bcd0cc91b 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -674,7 +674,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup (SALOMEDS::Study_ptr theStudy } int aType = (int)theGroup->GetType(); const char* aRootNames[] = { - "Compound Groups", "Groups of Nodes", + "Compound Groups", "Groups of Nodes", "Group of 0D Elements", "Groups of Edges", "Groups of Faces", "Groups of Volumes" }; // Currently, groups with heterogenous content are not supported @@ -684,7 +684,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup (SALOMEDS::Study_ptr theStudy // Find or create groups root SALOMEDS::SObject_var aRootSO = publish (theStudy, CORBA::Object::_nil(), aMeshSO, aRootTag, 0, false ); - if ( aType < 5 ) + if ( aType < 6 ) SetName( aRootSO, aRootNames[aType] ); // Add new group to corresponding sub-tree -- 2.39.2