mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
0020089: EDF 887 MED : Take into account 0D elements (MED_POINT1)
This commit is contained in:
parent
90c6367e0c
commit
4137f1c07b
@ -674,7 +674,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::PublishGroup (SALOMEDS::Study_ptr theStudy
|
|||||||
}
|
}
|
||||||
int aType = (int)theGroup->GetType();
|
int aType = (int)theGroup->GetType();
|
||||||
const char* aRootNames[] = {
|
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" };
|
"Groups of Edges", "Groups of Faces", "Groups of Volumes" };
|
||||||
|
|
||||||
// Currently, groups with heterogenous content are not supported
|
// 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
|
// Find or create groups root
|
||||||
SALOMEDS::SObject_var aRootSO = publish (theStudy, CORBA::Object::_nil(),
|
SALOMEDS::SObject_var aRootSO = publish (theStudy, CORBA::Object::_nil(),
|
||||||
aMeshSO, aRootTag, 0, false );
|
aMeshSO, aRootTag, 0, false );
|
||||||
if ( aType < 5 )
|
if ( aType < 6 )
|
||||||
SetName( aRootSO, aRootNames[aType] );
|
SetName( aRootSO, aRootNames[aType] );
|
||||||
|
|
||||||
// Add new group to corresponding sub-tree
|
// Add new group to corresponding sub-tree
|
||||||
|
Loading…
Reference in New Issue
Block a user