diff --git a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx index c0937ee4f..8cdd65fc8 100644 --- a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx +++ b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx @@ -292,7 +292,7 @@ int SMESHDS_GroupOnFilter::getElementIds( void* ids, size_t idSize ) const { SMESHDS_GroupOnFilter* me = const_cast( this ); - if ( IsUpToDate() ) + if ( !IsUpToDate() ) me->setChanged(); char* curID = (char*) ids;