0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  GROUP_BALL,
This commit is contained in:
eap 2012-07-19 13:20:15 +00:00
parent e519caf020
commit b6c4d708d5
2 changed files with 8 additions and 1 deletions

View File

@ -56,6 +56,7 @@ enum MeshObjectType {
GROUP_FACE, GROUP_FACE,
GROUP_VOLUME, GROUP_VOLUME,
GROUP_0D, GROUP_0D,
GROUP_BALL,
COMPONENT, COMPONENT,
IDSOURCE IDSOURCE
}; };

View File

@ -199,7 +199,13 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
} }
case GROUP_0D: 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; Ok = true;
break; break;
} }