Salome HOME
0021275: EDF 1681 SMESH: Find the number of nodes of any group
authoreap <eap@opencascade.com>
Tue, 4 Oct 2011 14:01:58 +0000 (14:01 +0000)
committereap <eap@opencascade.com>
Tue, 4 Oct 2011 14:01:58 +0000 (14:01 +0000)
    remove 100000 limit

src/SMESH_I/SMESH_Group_i.cxx

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