0021275: EDF 1681 SMESH: Find the number of nodes of any group

remove 100000 limit
This commit is contained in:
eap 2011-10-04 14:01:58 +00:00
parent a75dad97e1
commit fe3063e74b

View File

@ -489,7 +489,7 @@ CORBA::Long SMESH_GroupBase_i::GetNumberOfNodes()
CORBA::Boolean SMESH_GroupBase_i::IsNodeInfoAvailable() CORBA::Boolean SMESH_GroupBase_i::IsNodeInfoAvailable()
{ {
if ( GetType() == SMESH::NODE || Size() < 100000 ) if ( GetType() == SMESH::NODE/* || Size() < 100000 */)
return true; return true;
if ( SMESHDS_GroupBase* g = GetGroupDS()) if ( SMESHDS_GroupBase* g = GetGroupDS())
return ( myNbNodes > -1 && g->GetTic() == myGroupDSTic); return ( myNbNodes > -1 && g->GetTic() == myGroupDSTic);