Salome HOME
0021275: EDF 1681 SMESH: Find the number of nodes of any group
authoreap <eap@opencascade.com>
Tue, 4 Oct 2011 08:53:35 +0000 (08:53 +0000)
committereap <eap@opencascade.com>
Tue, 4 Oct 2011 08:53:35 +0000 (08:53 +0000)
    fix GetTic()

src/SMESHDS/SMESHDS_GroupOnFilter.cxx

index c631f832cbdc5bbe6537a20b3bbf270c053aa5af..8307b279ac6b64cd47ea39b3b66f3709ed23db3b 100644 (file)
@@ -132,7 +132,7 @@ int SMESHDS_GroupOnFilter::GetID (const int theIndex)
 
 int SMESHDS_GroupOnFilter::GetTic() const
 {
 
 int SMESHDS_GroupOnFilter::GetTic() const
 {
-  return myMeshModifTime * myPredicateTic;
+  return GetMesh()->GetMTime() * myPredicateTic;
 }
 
 //================================================================================
 }
 
 //================================================================================