diff --git a/src/SMESHFiltersSelection/SMESH_Type.h b/src/SMESHFiltersSelection/SMESH_Type.h index 9eb30cb03..e29c918a0 100644 --- a/src/SMESHFiltersSelection/SMESH_Type.h +++ b/src/SMESHFiltersSelection/SMESH_Type.h @@ -56,6 +56,7 @@ enum MeshObjectType { GROUP_FACE, GROUP_VOLUME, GROUP_0D, + GROUP_BALL, COMPONENT, IDSOURCE }; diff --git a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx index 26a9dc0a6..e9b83166c 100644 --- a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx +++ b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx @@ -199,7 +199,13 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const } case GROUP_0D: { - if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_VolumeGroups+1)) + if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_0DElementsGroups)) + Ok = true; + break; + } + case GROUP_BALL: + { + if (aLevel == 3 && (objFather->Tag() == SMESH::Tag_BallElementsGroups)) Ok = true; break; }